Skip to main content

RepositoryItemColorEdit.ShowMoreColorsButton Property

Gets or sets whether the More Colors button is displayed in the Custom tab.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public virtual bool ShowMoreColorsButton { get; set; }

Property Value

Type Default Description
Boolean true

true if the More Colors button is displayed; otherwise, false.

Remarks

Users can press the “More Colors” button in the “Custom” tab to invoke the “Select Color” dialog and select a custom color.

image

Set the ShowMoreColorsButton property to false to hide the “More Colors” button.

To customize the options provided by the “Select Color” dialog, use the ColorDialogOptions property and RepositoryItemColorPickEdit.ColorPickDialogShowing event.

See Also