Skip to main content

GaugeBase.EnableAnimation Property

Gets or sets a value specifying whether value indicators should be animated when changing their values.

Namespace: DevExpress.UI.Xaml.Gauges

Assembly: DevExpress.UI.Xaml.Gauges.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public bool EnableAnimation { get; set; }

Property Value

Type Description
Boolean

true, to enable animation; otherwise, false.

Remarks

When the EnableAnimation property is set to true, all value indicators of a Gauge control will smoothly display changing values. Note that an indicator’s ValueIndicatorBase.Value can be changed either programmatically or by using a mouse-click (when the ValueIndicatorBase.IsInteractive property of the corresponding indicator is set to true).

By default, the preset animation effect is used. If you want to change default settings, you should edit the ValueIndicatorBase.Animation property of a value indicator (e.g., to change the animation duration or animation function).

Use the IndicatorAnimation.Enable property to animate (inanimate) a concrete gauge’s indicator, if the GaugeBase.EnableAnimation property is set to false (true).

See Also