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.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.