ColorDialogOptions Class
Allows you to customize options provided by the “Select Color” dialog.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Related API Members
The following members return ColorDialogOptions objects:
Remarks
Users can press the “More Colors” button (see ShowMoreColorsButton) in the “Custom” tab to invoke the “Select Color” dialog and select a custom color.
The color that a user picks is automatically added to the Recent Colors group within the Custom tab. It can also be obtained via the RepositoryItemColorPickEdit.RecentColors collection.
Use the properties provided by the ColorPickEdit.Properties.ColorDialogOptions object to customize the “Select Color” dialog’s settings. The main settings include:
ColorDialogOptions.AllowTransparency - Gets or sets whether the dialog’s UI allows users to select a transparent color (set the transparency level).
ColorDialogOptions.ShowPreview - Gets or sets whether the dialog contains a preview box.
ColorDialogOptions.ShowTabs - Gets or sets whether the RGB, HSB or both tabs (color models) are available.