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.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.
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.