NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.OnPaint

Raises the OnPaint event.

[Visual Basic]
Overrides Protected Sub OnPaint( _
   ByVal pe As PaintEventArgs _
)
[C#]
protected override void OnPaint(
   PaintEventArgs pe
);
[C++]
protected: override void OnPaint(
   PaintEventArgs* pe
);
[JScript]
protected override function OnPaint(
   pe : PaintEventArgs
);

Parameters

pe
A PaintEventArgs which contains data about the event.

Remarks

Raising an event invokes the event-handling method through a delegate. For an overview, see TBD.

Notes to Inheritors When overriding OnPaint in a derived class, be sure to call the base class's OnPaint method.

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace