Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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