Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public bool Enable { get; set; }

#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>
See Also