BCGControlBar Library for .NET
DefaultInit Method (ColorPanel)




Specifies the color object style of the color object to add.
Specifies if "MoreColors" button should be enabled on the color panel.
Adds a color object of the specified color object style to the color panel on initialization.
Syntax
'Declaration
 
Public Overridable Sub DefaultInit( _
   ByVal style As ColorObjectStyle, _
   ByVal enableMoreColors As Boolean _
) 
'Usage
 
Dim instance As ColorPanel
Dim style As ColorObjectStyle
Dim enableMoreColors As Boolean
 
instance.DefaultInit(style, enableMoreColors)
public virtual void DefaultInit( 
   ColorObjectStyle style,
   bool enableMoreColors
)
public: virtual void DefaultInit( 
   ColorObjectStyle style,
   bool enableMoreColors
) 
public:
virtual void DefaultInit( 
   ColorObjectStyle style,
   bool enableMoreColors
) 

Parameters

style
Specifies the color object style of the color object to add.
enableMoreColors
Specifies if "MoreColors" button should be enabled on the color panel.
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

ColorPanel Class
ColorPanel Members

Send Feedback