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

IDocumentSelectorDefaultProperties.SwitchDocumentAnimationMode Property

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

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
Nullable<DevExpress.XtraBars.Docking2010.Customization.TransitionAnimation>

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

#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 IDocumentSelectorDefaultProperties.SwitchDocumentAnimationFrameInterval and IDocumentSelectorDefaultProperties.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., TabbedGroup and PageGroup containers.

If you customize the SwitchDocumentAnimationMode property, it will override the global setting common to all containers within this View. To specify this global setting, use the IDocumentSelectorProperties.SwitchDocumentAnimationMode property.

See Also