wpf-devexpress-dot-xpf-dot-gauges-dot-animationbase.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Gauges
public bool Enable { get; set; }
Public Property Enable As Boolean
| Type | Description |
|---|---|
| Boolean |
true to enable animation; otherwise, false.
|
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.
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>
See Also