Skip to main content

LabelComponent.UseColorScheme Property

Gets or sets whether the Color Scheme should be applied to this LabelComponent.

Namespace: DevExpress.XtraGauges.Win.Base

Assembly: DevExpress.XtraGauges.v23.2.Win.dll

NuGet Package: DevExpress.Win.Gauges

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool UseColorScheme { get; set; }

Property Value

Type Default Description
Boolean true

true if the Color Scheme should be applied to this LabelComponent; otherwise, false.

Remarks

Color Schemes can be applied to labels, images, range bars and state image indicators. To prevent a specific LabelComponent from being painted by a color scheme, set the UseColorScheme property to false. Other elements can be excluded from the color scheme by painting them with a solid or gradient BaseShapeAppearance.ContentBrush (by default, elements are painted with empty brushes).

See Also