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.OnPaintBackground

Raises the System.WinForms.DataGrid.PaintBackground event.

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

Parameters

ebe
A PaintEventArgs that contains the event data.

Remarks

Raising an event invokes the event-handling method through a delegate. For an overview, see TBD. Notes to Inheritors When overriding OnPaintBackground in a derived class, be sure to call the base class's OnPaintBackground method.

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace