Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ColorDialog Constructor
Collapse the table of content
Expand the table of content

ColorDialog Constructor

Initializes a new instance of the ColorDialog class.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public 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

null

FullOpen

false

ShowHelp

false

SolidColorOnly

false

You can change the value for any of these properties through a separate call to the property.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft