BCGControlBar Library for .NET
ColorObject Constructor(Color,Boolean,ColorObjectStyle)




A color value to set on initialization.
Indicates a value whether  the color to set as default is a custom color.
The ColorObjectStyle of the color to set as default.
Initializes a new instance of the Color Object class with the specified color value and the specified ColorObjectStyle.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color, _
   ByVal isCustomColor As Boolean, _
   ByVal style As ColorObjectStyle _
)
'Usage
 
Dim color As Color
Dim isCustomColor As Boolean
Dim style As ColorObjectStyle
 
Dim instance As New ColorObject(color, isCustomColor, style)
public ColorObject( 
   Color color,
   bool isCustomColor,
   ColorObjectStyle style
)
public: ColorObject( 
   Color color,
   bool isCustomColor,
   ColorObjectStyle style
)
public:
ColorObject( 
   Color color,
   bool isCustomColor,
   ColorObjectStyle style
)

Parameters

color
A color value to set on initialization.
isCustomColor
Indicates a value whether  the color to set as default is a custom color.
style
The ColorObjectStyle of the color to set as default.
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

ColorObject Class
ColorObject Members
Overload List

Send Feedback