BCGControlBar Library for .NET
OnDrawRibbonCategory Method (VisualManager)




A DrawRibbonCategoryDef object associated with the CategoryItem to draw.
Called by the framework on redrawing the RibbonCategoryItem. Fills the background of the Ribbon, draws borders and shadow around it and its caption.
Syntax
'Declaration
 
Public Overridable Sub OnDrawRibbonCategory( _
   ByVal vd As DrawRibbonCategoryDef _
) 
'Usage
 
Dim instance As VisualManager
Dim vd As DrawRibbonCategoryDef
 
instance.OnDrawRibbonCategory(vd)
public virtual void OnDrawRibbonCategory( 
   DrawRibbonCategoryDef vd
)
public: virtual void OnDrawRibbonCategory( 
   DrawRibbonCategoryDef* vd
) 
public:
virtual void OnDrawRibbonCategory( 
   DrawRibbonCategoryDef^ 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