BCGControlBar Library for .NET
OnDrawName Method




The graphics to draw on.
The bounding rectangle of the property name.
The font to draw the property name .
The color of the text to draw a name.
Called by the framework to display the property name.
Syntax
'Declaration
 
Public Overridable Sub OnDrawName( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle, _
   ByVal font As Font, _
   ByVal textColor As Color _
) 
'Usage
 
Dim instance As PropertyListItem
Dim graphics As Graphics
Dim rect As Rectangle
Dim font As Font
Dim textColor As Color
 
instance.OnDrawName(graphics, rect, font, textColor)
public virtual void OnDrawName( 
   Graphics graphics,
   Rectangle rect,
   Font font,
   Color textColor
)
public: virtual void OnDrawName( 
   Graphics* graphics,
   Rectangle rect,
   Font* font,
   Color textColor
) 
public:
virtual void OnDrawName( 
   Graphics^ graphics,
   Rectangle rect,
   Font^ font,
   Color textColor
) 

Parameters

graphics
The graphics to draw on.
rect
The bounding rectangle of the property name.
font
The font to draw the property name .
textColor
The color of the text to draw a name.
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