Skip to main content

NavigationFrame.AnimationDelay Property

Gets or sets the delay that elapses before a View is changed using the animation. This is a dependency property.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v24.2.dll

NuGet Package: DevExpress.Wpf.Controls

Declaration

public TimeSpan AnimationDelay { get; set; }

Property Value

Type Description
TimeSpan

A TimeSpan structure that specifies the delay that elapses before navigation is performed using the animation. The default is 0:0:0.150.

Remarks

The NavigationFrame.AnimationType property specifies the animation used to change Views. The AnimationDelay property allows you to set the delay that elapses before a View is changed using the animation. By default, this property specifies a 150 ms delay. Note that if the animation is not used (the NavigationFrame.AnimationType equals None), the AnimationDelay property is not in effect and Views are changed immediately.

Note

If the TotalMilliseconds value of the specified TimeSpan exceeds the Int32.MaxValue, an exception is thrown.

See Also