Back to Devexpress

SymbolsAnimation.RefreshTime Property

wpf-devexpress-dot-xpf-dot-gauges-dot-symbolsanimation.md

latest1.8 KB
Original Source

SymbolsAnimation.RefreshTime Property

Gets or sets the refresh time between two symbol animations.

Namespace : DevExpress.Xpf.Gauges

Assembly : DevExpress.Xpf.Gauges.v25.2.dll

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public TimeSpan RefreshTime { get; set; }
vb
Public Property RefreshTime As TimeSpan

Property Value

TypeDescription
TimeSpan

A TimeSpan value that is the refresh time between two animations.

|

Remarks

To see how the RefreshTime property works for the creeping line animation, set the CreepingLineAnimation.Repeat property to true.

Example

This example demonstrates how to customize the blinking animation effect in a digital gauge.

xaml
<dxga:DigitalGaugeControl.SymbolView>
    <dxga:MatrixView8x14>
        <dxga:MatrixView8x14.Animation>
            <dxga:BlinkingAnimation RefreshTime="00:00:01" SymbolsStates="0 1 1 1 0 1 1 0" />
        </dxga:MatrixView8x14.Animation>
    </dxga:MatrixView8x14>
</dxga:DigitalGaugeControl.SymbolView>

See Also

SymbolsAnimation Class

SymbolsAnimation Members

DevExpress.Xpf.Gauges Namespace