ValueIndicatorBase.IsInteractive Property

Gets or sets a value that indicates whether interactivity is enabled for the current value indicator.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v21.1.dll


public bool IsInteractive { get; set; }

Property Value

Type Description

true to enable interactivity; otherwise, false.


After the IsInteractive property is set to true, it becomes possible to change an indicator’s value property via a mouse click.

Snap Indicator Values to Tickmarks

When users change the indicator value, they can set any value. You can prohibit users from setting values bettween tickmarks. Set the ValueIndicatorBase.SnapMode property to MajorTickmarks / MinorTickmarks to snap the indicator value to major/minor tickmarks.


This example demonstrates how to enable the capability for end-users to change a needle’s value via a mouse click. To do this, set the ValueIndicatorBase.IsInteractive property to True as shown below.

Note that although in this example, only the ArcScaleNeedle class is used, the IsInteractive property is available in all ValueIndicatorBase class descendants, and therefore it is available in all value indicators.

View Example

<dxga:ArcScaleNeedle IsInteractive="True">
See Also