Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Gauges


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 between tickmarks. Set the ValueIndicatorBase.SnapMode property to MajorTickmarks / MinorTickmarks to snap the indicator value to major/minor tickmarks.


This example demonstrates how to use animation effects in DXGauges.

To activate animation, set the GaugeControlBase.EnableAnimation property to True. After that, it becomes possible to customize the animation’s duration and easing function via its IndicatorAnimation.Duration and IndicatorAnimation.EasingFunction properties.

<Window x:Class="DXGauges_Animation.MainWindow"
        Title="MainWindow" Height="350" Width="525" >
        <!--region #EnableAnimation-->
        <dxga:CircularGaugeControl EnableAnimation="True">
        <!--endregion #EnableAnimation-->
                        <!--region #EnableEditing-->
                        <dxga:ArcScaleNeedle IsInteractive="True">
                        <!--endregion #EnableEditing-->
                                <dxga:IndicatorAnimation Duration="00:00:02.0000000">

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.

See Also