BCGControlBar Library for .NET
GetMenuItemTextColor Method (VisualManager)




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

Parameters

vd
Specified the object of the DrawButtonDef class associated with a menu item to redraw. Used to indicate a value whether the redrawing menu item 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