Back to Devexpress

NavigationFrame.TransitionManager Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navigationframe-5d79c177.md

latest3.0 KB
Original Source

NavigationFrame.TransitionManager Property

Gets a NavigationFrame‘s TransitionManager object that controls the frame’s animation.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public TransitionManager TransitionManager { get; }
vb
<EditorBrowsable(EditorBrowsableState.Advanced)>
<Browsable(False)>
Public ReadOnly Property TransitionManager As TransitionManager

Property Value

TypeDescription
TransitionManager

A TransitionManager object that controls the frame’s animation.

|

Remarks

To control a NavigationFrame‘s animation, use the AllowTransitionAnimation and AnimationType properties.

csharp
using DevExpress.Utils;
using DevExpress.Utils.Animation;
// ...
navigationFrame1.AllowTransitionAnimation = DefaultBoolean.True;
navigationFrame1.TransitionType = Transitions.Comb;
vb
Imports DevExpress.Utils
Imports DevExpress.Utils.Animation
' ...
navigationFrame1.AllowTransitionAnimation = DefaultBoolean.True
navigationFrame1.TransitionType = Transitions.Comb

The image below demonstrates the result.

The TransitionManager property gets the TransitionManager object responsible for the NavigationFrame‘s animation. You can use this object to access additional animation settings. For example, you can subscribe to BeforeTransitionStarts and AfterTransitionEnds events.

See Also

NavigationFrame Class

NavigationFrame Members

DevExpress.XtraBars.Navigation Namespace