BCGControlBar Library for .NET
OnDrawRibbonCategoryItem Method (VisualManager)




A DrawRibbonCategoryDef object associated with the CategoryItem to draw.
Draws a highlighting and three-dimensional border around the RibbonCategoryItem. Called by the framework on redrawing the RibbonCategoryItem
Syntax
'Declaration
 
Public Overridable Function OnDrawRibbonCategoryItem( _
   ByVal vd As DrawRibbonCategoryItemDef _
) As Color
'Usage
 
Dim instance As VisualManager
Dim vd As DrawRibbonCategoryItemDef
Dim value As Color
 
value = instance.OnDrawRibbonCategoryItem(vd)
public virtual Color OnDrawRibbonCategoryItem( 
   DrawRibbonCategoryItemDef vd
)
public: virtual Color OnDrawRibbonCategoryItem( 
   DrawRibbonCategoryItemDef* vd
) 
public:
virtual Color OnDrawRibbonCategoryItem( 
   DrawRibbonCategoryItemDef^ vd
) 

Parameters

vd
A DrawRibbonCategoryDef object associated with the CategoryItem to draw.
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