BCGControlBar Library for .NET
OnDrawExpandBox Method (PropertyListItem)




The graphics to draw on.

The bounding rectangle of the expand box.

Called by the framework to draw an expand box near a property containing sub-properties.

Syntax
'Declaration
 
Public Overridable Sub OnDrawExpandBox( _
   ByVal graphics As Graphics, _
   ByVal rectExpand As Rectangle _
) 
'Usage
 
Dim instance As PropertyListItem
Dim graphics As Graphics
Dim rectExpand As Rectangle
 
instance.OnDrawExpandBox(graphics, rectExpand)
public virtual void OnDrawExpandBox( 
   Graphics graphics,
   Rectangle rectExpand
)
public: virtual void OnDrawExpandBox( 
   Graphics* graphics,
   Rectangle rectExpand
) 
public:
virtual void OnDrawExpandBox( 
   Graphics^ graphics,
   Rectangle rectExpand
) 

Parameters

graphics
The graphics to draw on.
rectExpand

The bounding rectangle of the expand box.

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

PropertyListItem Class
PropertyListItem Members

Send Feedback