Back to Devexpress

IDocumentSelectorProperties.SwitchDocumentAnimationMode Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-windowsui-dot-idocumentselectorproperties-b2622c5a.md

latest3.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
TransitionAnimation SwitchDocumentAnimationMode { get; set; }
vb
Property SwitchDocumentAnimationMode As TransitionAnimation

Property Value

TypeDescription
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

SwitchDocumentAnimationFrameInterval

SwitchDocumentAnimationFramesCount

SwitchDocumentAnimationMode

IDocumentSelectorProperties Interface

IDocumentSelectorProperties Members

DevExpress.XtraBars.Docking2010.Views.WindowsUI Namespace