RepositoryItemColorEdit.ShowAutomaticButton Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(true)]
public virtual bool ShowAutomaticButton { get; set; }
<DXCategory("Appearance")>
<DefaultValue(True)>
Public Overridable Property ShowAutomaticButton As Boolean

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