Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(ColorDialogType.Default)]
[DXCategory("Behavior")]
public virtual ColorDialogType ColorDialogType { get; set; }

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