Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IDocumentSelectorProperties.SwitchDocumentAnimationMode Property

Gets or sets the type of animation played when an end-user switches Documents within Content Containers.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

TransitionAnimation SwitchDocumentAnimationMode { get; set; }

#Property Value

Type Description
DevExpress.XtraBars.Docking2010.Customization.TransitionAnimation

A TransitionAnimation enumerator value that specifies the type of animation played when an end-user switches Documents within Content Containers.

#Remarks

The SwitchDocumentAnimationMode property allows you to choose different animation types (vertical or horizontal slide, fade, segmented fade etc). To turn animation effects off, set the SwitchDocumentAnimationMode property to None. Additionally, you can customize animation speed and quality via the IDocumentSelectorProperties.SwitchDocumentAnimationFrameInterval and IDocumentSelectorProperties.SwitchDocumentAnimationFramesCount properties.

Note

The SwitchDocumentAnimationMode property is supported only for content containers that have multiple Documents, but can display only one (the currently selected) Document at a time, i.e., the TabbedGroup and PageGroup containers.

To override the SwitchDocumentAnimationMode property setting for individual containers, use the IDocumentSelectorDefaultProperties.SwitchDocumentAnimationMode property instead.

See Also