BCGControlBar Library for .NET
OnDrawDescription Method (PropertyListItem)




A graphics to draw on.

A bounding rectangle of description area (in client coordinates of property list control).

A color of the text on description area.
Displays the property description on the description area of the property control. The default implementation draws the property's name and text using parent property list control's font (the name is drawn using bold font).
Syntax
'Declaration
 
Public Overridable Sub OnDrawDescription( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle, _
   ByVal colorText As Color _
) 
'Usage
 
Dim instance As PropertyListItem
Dim graphics As Graphics
Dim rect As Rectangle
Dim colorText As Color
 
instance.OnDrawDescription(graphics, rect, colorText)
public virtual void OnDrawDescription( 
   Graphics graphics,
   Rectangle rect,
   Color colorText
)
public: virtual void OnDrawDescription( 
   Graphics* graphics,
   Rectangle rect,
   Color colorText
) 
public:
virtual void OnDrawDescription( 
   Graphics^ graphics,
   Rectangle rect,
   Color colorText
) 

Parameters

graphics
A graphics to draw on.
rect

A bounding rectangle of description area (in client coordinates of property list control).

colorText
A color of the text on description area.
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