Initializes a new instance of the ColorDialog class.
[Visual Basic] Public Sub New() [C#] public ColorDialog(); [C++] public: ColorDialog(); [JScript] public function ColorDialog();
When you create an instance of ColorDialog, the following read/write properties are set to initial values.
Property | Initial Value |
---|---|
AllowFullOpen | true |
AnyColor | false |
Color | Color.Black |
CustomColors | a null reference (in Visual Basic Nothing) |
FullOpen | false |
ShowHelp | false |
SolidColorOnly | false |
You can change the value for any of these properties through a separate call to the property.
ColorDialog Class | ColorDialog Members | System.WinForms Namespace