System.Windows.Forms.ColorDialog Members

The members of System.Windows.Forms.ColorDialog are listed below.

See Also: Inherited members from System.Windows.Forms.CommonDialog

Public Constructors

Initializes a new instance of the System.Windows.Forms.ColorDialog class.

Public Properties

AllowFullOpenbool.

Gets or sets a value indicating whether the user can use the dialog box to define custom colors.

AnyColorbool.

Gets or sets a value indicating whether the dialog box displays all available colors in the set of basic colors.

ColorSystem.Drawing.Color.

Gets or sets the color selected by the user.

CustomColorsint[].

Gets or sets the set of custom colors shown in the dialog box.

FullOpenbool.

Gets or sets a value indicating whether the controls used to create custom colors are visible when the dialog box is opened

ShowHelpbool.

Gets or sets a value indicating whether a Help button appears in the color dialog box.

SolidColorOnlybool.

Gets or sets a value indicating whether the dialog box will restrict users to selecting solid colors only.

Protected Properties

[read-only]
InstanceIntPtr.

Gets the underlying window instance handle (HINSTANCE).

[read-only]
Optionsint.

Gets values to initialize the System.Windows.Forms.ColorDialog.

Public Methods

override
Reset()

Resets all options to their default values, the last selected color to black, and the custom colors to their default values.

override
ToString() : string

Returns a string that represents the System.Windows.Forms.ColorDialog.

Protected Methods

override
RunDialog(IntPtr) : bool
Documentation for this section has not yet been entered.