ValueIndicatorBase.IsInteractive Property
Gets or sets a value that indicates whether interactivity is enabled for the current value indicator or not.
Namespace: DevExpress.Xpf.Gauges
Assembly: DevExpress.Xpf.Gauges.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to enable interactivity; otherwise, false. |
Remarks
After the IsInteractive property is set to true, it becomes possible to change an indicator’s value property via a mouse click.
Example
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.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-animate-gauge-elements-e3316.
<dxga:ArcScaleNeedle IsInteractive="True">
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsInteractive property.
Note
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.