windowsforms-devexpress-dot-xtraeditors-5f303948.md
Allows you to customize options provided by the “Select Color” dialog.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public class ColorDialogOptions :
IDisposable
Public Class ColorDialogOptions
Implements IDisposable
The following members return ColorDialogOptions objects:
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.
Object ColorDialogOptions
See Also