System.Windows.Forms.ColorDialog: Property Members

The properties of System.Windows.Forms.ColorDialog are listed below. For a list of all members, see the ColorDialog Members list.

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

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.