RepositoryItemColorEdit.ShowAutomaticButton Property
Gets or sets whether the Automatic button is displayed in the Custom tab.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v21.2.dll
NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation
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.
Set the ShowAutomaticButton property to false to prevent the Automatic button from being displayed.
See Also