XtraTabControl.Transition Property
Provides access to parameters of the tab switch animation.
Namespace: DevExpress.XtraTab
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
DevExpress.XtraTab.XtraTabControlTransition | An DevExpress.XtraTab.XtraTabControlTransition object that specifies parameters of the tab switch animation. |
Remarks
To specify whether the XtraTabControl uses animation effects when switching between tabs, use the AllowTransition setting accessible through the Transition property. If the AllowTransition property is set to Default, the behavior is controlled by the WindowsFormsSettings.AnimationMode global setting. If the global setting is set to EnableAll, the tab pages are changed using animation. Otherwise, the animation is disabled. Use the AllowTransition property to override the global setting for the current XtraTabControl, and explicitly specify whether to use animation.
If the animation is enabled, you can also specify its type and parameters using the TransitionType property accessible through the Transition settings.
If the animation is enabled, the XtraTabControl.SelectedPageChangeAnimationCompleted event fires when the animation completes, allowing you to perform required actions (e.g., focus a particular control) on the activated page.