NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ColorDialog Constructor

Initializes a new instance of the ColorDialog class.

[Visual Basic]
Public Sub New()
[C#]
public ColorDialog();
[C++]
public: ColorDialog();
[JScript]
public function ColorDialog();

Remarks

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.

See Also

ColorDialog Class | ColorDialog Members | System.WinForms Namespace