Skip to main content

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