Gets or sets a value that indicates whether interactivity is enabled for the current value indicator.
NuGet Package: DevExpress.Wpf.Gauges
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
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsInteractive property.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.