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 );
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.
DataGrid Class | DataGrid Members | System.WinForms Namespace