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


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace > WinVerticalScrollBar Class : OnPaint Method
A System.Windows.Forms.PaintEventArgs that contains the event data.
Raises the System.Windows.Forms.Control.Paint event.
Syntax
'Declaration
 
Protected Overrides Sub OnPaint( _
   ByVal e As PaintEventArgs _
) 
'Usage
 
Dim instance As WinVerticalScrollBar
Dim e As PaintEventArgs
 
instance.OnPaint(e)
protected override void OnPaint( 
   PaintEventArgs e
)

Parameters

e
A System.Windows.Forms.PaintEventArgs 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

WinVerticalScrollBar Class
WinVerticalScrollBar Members
Base Implementation in OnPaint