WorkspaceManager.TransitionType Property
Gets or sets the transition animation that follows applying workspaces.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v21.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Win.Design, DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Utils.Animation.ITransitionAnimator | An ITransitionAnimator object that is the transition animation with its parameters. |
Remarks
The TransitionType property allows you to choose the required animation that follows applying different workspaces from the WorkspaceManager.Workspaces collection. Animations are stored in DevExpress.Utils.Animation namespace (see the code below).
Additionally the TransitionType property provides access to advanced animation settings, such as the FrameCount property that affects the animation speed.
DevExpress.Utils.Animation.ClockTransition clockTransition1 = new DevExpress.Utils.Animation.ClockTransition();
clockTransition1.Parameters.EffectOptions = DevExpress.Utils.Animation.ClockEffectOptions.Wedge;
clockTransition1.Parameters.FrameCount = 1000;
workspaceManager1.TransitionType = clockTransition1;