BCGControlBar Library for .NET
GetToolbarButtonTextColor Method (VisualManager)




Specified the object of the DrawButtonDef class associated with a toolbar button to redraw. Used to indicate if the redrawing toolbar button is enabled or disabled at the moment.
Called by the framework on the redrawing of the toolbar button. Returns the color of the toolbar button text according to its current state.
Syntax
'Declaration
 
Public Overridable Function GetToolbarButtonTextColor( _
   ByVal vd As DrawButtonDef _
) As Color
'Usage
 
Dim instance As VisualManager
Dim vd As DrawButtonDef
Dim value As Color
 
value = instance.GetToolbarButtonTextColor(vd)
public virtual Color GetToolbarButtonTextColor( 
   DrawButtonDef vd
)
public: virtual Color GetToolbarButtonTextColor( 
   DrawButtonDef* vd
) 
public:
virtual Color GetToolbarButtonTextColor( 
   DrawButtonDef^ vd
) 

Parameters

vd
Specified the object of the DrawButtonDef class associated with a toolbar button to redraw. Used to indicate if the redrawing toolbar button is enabled or disabled at the moment.
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

VisualManager Class
VisualManager Members

Send Feedback