Xceed Grid for WinForms v4.3 Documentation
OnPaint Method (VisualGridElement)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > VisualGridElement Class : OnPaint Method
A GridPaintEventArgs that contains the event data.
Raises the Paint event.
Syntax
'Declaration
 
Protected Friend Overridable Sub OnPaint( _
   ByVal e As GridPaintEventArgs _
) 
'Usage
 
Dim instance As VisualGridElement
Dim e As GridPaintEventArgs
 
instance.OnPaint(e)
protected internal virtual void OnPaint( 
   GridPaintEventArgs e
)

Parameters

e
A GridPaintEventArgs that contains the event data.
Remarks
When overriding OnPaint in a derived class, be sure to call the base class's OnPaint method so that registered delegates receive the event.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

VisualGridElement Class
VisualGridElement Members