Skip to main content
A newer version of this page is available. .

ColorScheme.TargetElements Property

Gets or sets which gauge elements this ColorScheme affects.

Namespace: DevExpress.XtraGauges.Core.Base

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

NuGet Packages: DevExpress.Gauges.Core, DevExpress.WindowsDesktop.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