windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navigationframe-5d79c177.md
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
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
public TransitionManager TransitionManager { get; }
<EditorBrowsable(EditorBrowsableState.Advanced)>
<Browsable(False)>
Public ReadOnly Property TransitionManager As TransitionManager
| Type | Description |
|---|---|
| TransitionManager |
A TransitionManager object that controls the frame’s animation.
|
To control a NavigationFrame‘s animation, use the AllowTransitionAnimation and AnimationType properties.
using DevExpress.Utils;
using DevExpress.Utils.Animation;
// ...
navigationFrame1.AllowTransitionAnimation = DefaultBoolean.True;
navigationFrame1.TransitionType = Transitions.Comb;
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