BCGControlBar Library for .NET
DrawColorObject Method




Syntax
'Declaration
 
Protected Sub DrawColorObject( _
   ByVal graphics As Graphics, _
   ByVal rectObject As Rectangle, _
   ByVal highlight As Boolean, _
   ByVal selected As Boolean, _
   ByVal objColor As Color, _
   ByVal bInheritItem As Boolean, _
   ByVal IsCompactMode As Boolean _
) 
'Usage
 
Dim instance As ColorGalleryButton
Dim graphics As Graphics
Dim rectObject As Rectangle
Dim highlight As Boolean
Dim selected As Boolean
Dim objColor As Color
Dim bInheritItem As Boolean
Dim IsCompactMode As Boolean
 
instance.DrawColorObject(graphics, rectObject, highlight, selected, objColor, bInheritItem, IsCompactMode)
protected void DrawColorObject( 
   Graphics graphics,
   Rectangle rectObject,
   bool highlight,
   bool selected,
   Color objColor,
   bool bInheritItem,
   bool IsCompactMode
)
protected: void DrawColorObject( 
   Graphics* graphics,
   Rectangle rectObject,
   bool highlight,
   bool selected,
   Color objColor,
   bool bInheritItem,
   bool IsCompactMode
) 
protected:
void DrawColorObject( 
   Graphics^ graphics,
   Rectangle rectObject,
   bool highlight,
   bool selected,
   Color objColor,
   bool bInheritItem,
   bool IsCompactMode
) 

Parameters

graphics
rectObject
highlight
selected
objColor
bInheritItem
IsCompactMode
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

ColorGalleryButton Class
ColorGalleryButton Members

Send Feedback