BCGControlBar Library for .NET
OnFillCommandsListBackground Method (VisualManager)




A VisualizationDefBase object associated with a toolbar button to draw in the customize list.
Indicates a value if the specified toolbar button is currently selected within the customize list and should be highlighted.
Specifies the width of the image to draw on the toolbar button within the customize list.
Called by the framework on drawing a specified toolbar button in the customize list of the customize dialog box. Fills the background of the button in the customize list and returns a color of the text to write the name of the button.
Syntax
'Declaration
 
Public Overridable Function OnFillCommandsListBackground( _
   ByVal vd As VisualizationDefBase, _
   ByVal selected As Boolean, _
   ByVal imageWidth As Integer, _
   ByVal ribbonApplication As Boolean _
) As Color
'Usage
 
Dim instance As VisualManager
Dim vd As VisualizationDefBase
Dim selected As Boolean
Dim imageWidth As Integer
Dim ribbonApplication As Boolean
Dim value As Color
 
value = instance.OnFillCommandsListBackground(vd, selected, imageWidth, ribbonApplication)
public virtual Color OnFillCommandsListBackground( 
   VisualizationDefBase vd,
   bool selected,
   int imageWidth,
   bool ribbonApplication
)
public: virtual Color OnFillCommandsListBackground( 
   VisualizationDefBase* vd,
   bool selected,
   int imageWidth,
   bool ribbonApplication
) 
public:
virtual Color OnFillCommandsListBackground( 
   VisualizationDefBase^ vd,
   bool selected,
   int imageWidth,
   bool ribbonApplication
) 

Parameters

vd
A VisualizationDefBase object associated with a toolbar button to draw in the customize list.
selected
Indicates a value if the specified toolbar button is currently selected within the customize list and should be highlighted.
imageWidth
Specifies the width of the image to draw on the toolbar button within the customize list.
ribbonApplication
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