BCGControlBar Library for .NET
OnDrawValue Method (PropertyListItem)




The graphics to draw on.
The bounding rectangle of the property value.
The font to draw the property value .
The color of the text to draw the value.
Called by the framework to display the property value.
Syntax
'Declaration
 
Public Overridable Sub OnDrawValue( _
   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.OnDrawValue(graphics, rect, font, textColor)
public virtual void OnDrawValue( 
   Graphics graphics,
   Rectangle rect,
   Font font,
   Color textColor
)
public: virtual void OnDrawValue( 
   Graphics* graphics,
   Rectangle rect,
   Font* font,
   Color textColor
) 
public:
virtual void OnDrawValue( 
   Graphics^ graphics,
   Rectangle rect,
   Font^ font,
   Color textColor
) 

Parameters

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