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.v20.2.dll

Declaration

public bool Enable { get; set; }
Public Property Enable As Boolean

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.

Examples

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