RepositoryItemColorEdit.ColorDialogType Property

Gets or sets whether a simple or advanced dialog is used to pick a custom color.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(ColorDialogType.Default)]
public virtual ColorDialogType ColorDialogType { get; set; }
<DXCategory("Behavior")>
<DefaultValue(ColorDialogType.Default)>
Public Overridable Property ColorDialogType As ColorDialogType

Property Value

Type Default Description
DevExpress.XtraEditors.Popup.ColorDialogType

Default

A DevExpress.XtraEditors.Popup.ColorDialogType enumeration value, such as Simple or Advanced, that specifies whether a simple or advanced dialog is used to pick a custom color. The Default is Advanced.

Remarks

A color dialog allows an end-user to select a custom color. Use the ColorDialogType property to choose between an advanced and simple color dialogs.

Color Dialog Type

Image

ColorEdit

ColorDialogType=Advanced (Default)

ColorEdit-AdvancedColorDialog.png

ColorPickEdit

ColorDialogType=Advanced (Default)

Use RepositoryItemColorPickEdit.ColorDialogOptions to specify which tabs (RGB, HSB or both) should be visible.

ColorPickEdit-RGB.png ColorPickEdit-HSB.png

ColorEdit and ColorPickEdit

ColorDialogType=Simple

ColorPickEdit-SimpleColorDialog.png

See Also