Skip to main content
A newer version of this page is available. .

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

[DXCategory("Behavior")]
public ITransitionAnimator TransitionType { get; set; }

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).

workspaceManager1.TransitionType = new DevExpress.Utils.Animation.SlideFadeTransition();

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;
See Also