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




A color value to set on initialization.
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 style As ColorObjectStyle _
)
'Usage
 
Dim color As Color
Dim style As ColorObjectStyle
 
Dim instance As New ColorObject(color, style)
public ColorObject( 
   Color color,
   ColorObjectStyle style
)
public: ColorObject( 
   Color color,
   ColorObjectStyle style
)
public:
ColorObject( 
   Color color,
   ColorObjectStyle style
)

Parameters

color
A color value to set on initialization.
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