Skip to main content

ColorScheme.TargetElements Property

Gets or sets which gauge elements this ColorScheme affects.

Namespace: DevExpress.XtraGauges.Core.Base

Assembly: DevExpress.XtraGauges.v24.1.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

[XtraSerializableProperty]
public TargetElement TargetElements { get; set; }

Property Value

Type Description
TargetElement

A TargetElement enumerator value that specifies which gauge elements this ColorScheme affects.

Available values:

Name Description
Empty

The current color scheme will not be applied.

RangeBar

The current color scheme will be applied to all range bar elements in the target gauge.

ImageIndicator

The current color scheme will be applied to all image indicator elements in the target gauge.

Label

The current color scheme will be applied to all labels in the target gauge.

Remarks

Gauge elements specified by this property will be painted using a color stored in the ColorScheme.Color property. See the Color Schemes article for more info.

See Also