Skip to main content

ColorScheme.TargetElements Property

Gets or sets which gauge elements this ColorScheme affects.

Namespace: DevExpress.XtraGauges.Core.Base

Assembly: DevExpress.XtraGauges.v22.2.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

[DefaultValue(TargetElement.Empty)]
public TargetElement TargetElements { get; set; }

Property Value

Type Default Description
TargetElement Empty

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