BCGControlBar Library for .NET
OnDraw Method (CollapsedCategoryItemButton)




A Graphics to draw a CollapsedCategoryItemButton on.
The boundaries of the CollapsedCategoryItemButton to draw.
Redraws the CollapsedCategoryItemButton
Syntax
'Declaration
 
Public Overrides Sub OnDraw( _
   ByVal grph As Graphics, _
   ByVal bounds As Rectangle _
) 
'Usage
 
Dim instance As CollapsedCategoryItemButton
Dim grph As Graphics
Dim bounds As Rectangle
 
instance.OnDraw(grph, bounds)
public override void OnDraw( 
   Graphics grph,
   Rectangle bounds
)
public: void OnDraw( 
   Graphics* grph,
   Rectangle bounds
) override 
public:
void OnDraw( 
   Graphics^ grph,
   Rectangle bounds
) override 

Parameters

grph
A Graphics to draw a CollapsedCategoryItemButton on.
bounds
The boundaries of the CollapsedCategoryItemButton to draw.
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

CollapsedCategoryItemButton Class
CollapsedCategoryItemButton Members
Base Implementation in OnDraw

Send Feedback