BCGControlBar Library for .NET
OnDraw Method (SmartTrackBarButton)




A reference to a graphics object.
Bounding rectangle.
Draws the track bar button.
Syntax
'Declaration
 
Public Overrides Sub OnDraw( _
   ByVal grph As Graphics, _
   ByVal rect As Rectangle _
) 
'Usage
 
Dim instance As SmartTrackBarButton
Dim grph As Graphics
Dim rect As Rectangle
 
instance.OnDraw(grph, rect)
public override void OnDraw( 
   Graphics grph,
   Rectangle rect
)
public: void OnDraw( 
   Graphics* grph,
   Rectangle rect
) override 
public:
void OnDraw( 
   Graphics^ grph,
   Rectangle rect
) override 

Parameters

grph
A reference to a graphics object.
rect
Bounding rectangle.
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

SmartTrackBarButton Class
SmartTrackBarButton Members
Base Implementation in OnDraw

Send Feedback