Skip to main content

RepositoryItemColorEdit.ShowAutomaticButton Property

Gets or sets whether the Automatic 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 ShowAutomaticButton { get; set; }

Property Value

Type Default Description
Boolean true

true if the Automatic button is displayed; otherwise, false.

Remarks

By default, the ColorPickEdit control displays the Automatic button in the Custom tab. A click on this button selects the color specified with the RepositoryItemColorPickEdit.AutomaticColor property. See the figure below.

RepositoryItemColorEdit_ShowAutomaticButton

Set the ShowAutomaticButton property to false to prevent the Automatic button from being displayed.

See Also