Skip to main content

RepositoryItemColorPickEdit.AutomaticColor Property

Gets or sets the color considered the “Automatic” color, which is selected when an end-user clicks the Automatic button in the Custom tab.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DXCategory("Appearance")]
public virtual Color AutomaticColor { get; set; }

Property Value

Type Description
Color

The color considered the “Automatic” color.

Remarks

The Custom tab (see RepositoryItemColorEdit.ShowCustomColors) contains the Automatic button. A click on this button assigns the AutomaticColor to the editor’s ColorEdit.Color property.

ColorPickEdit

To replace the “Automatic” label with a custom caption, use the RepositoryItemColorPickEdit.AutomaticColorButtonCaption property. It is also possible to localize this caption using the localization mechanism.

To prevent the Automatic button from being displayed, set the RepositoryItemColorEdit.ShowAutomaticButton property to false.

See Also