AnimationBase.Enable Property
Gets or sets a value specifying whether the digital gauge control should be animated using creeping line or blinking animation.
Namespace: DevExpress.Xpf.Gauges
Assembly: DevExpress.Xpf.Gauges.v24.2.dll
NuGet Package: DevExpress.Wpf.Gauges
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true to enable animation; otherwise, false. |
#Remarks
When the Enable property is set to true, the animation starts immediately at design time for the current symbol view type. It can be either creeping line animation or blinking animation.
The Creeping line animation presents only once. To see this animation effect constantly, use the CreepingLineAnimation.Repeat property.
Note that the Enable property becomes available after you specify the animation type using the SymbolViewBase.Animation property.
#Example
The following example shows how to activate the blinking animation effect for the SevenSegmentsView object.
<dxga:DigitalGaugeControl.SymbolView>
<dxga:SevenSegmentsView>
<dxga:SevenSegmentsView.Animation>
<dxga:BlinkingAnimation Enable="True"/>
</dxga:SevenSegmentsView.Animation>
</dxga:SevenSegmentsView>
</dxga:DigitalGaugeControl.SymbolView>