A newer version of this page is available. Switch to the current version.

XtraTabControl.Transition Property

Provides access to parameters of the tab switch animation.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v19.1.dll


public XtraTabControlTransition Transition { get; }

Property Value

Type Description

An DevExpress.XtraTab.XtraTabControlTransition object that specifies parameters of the tab switch animation.


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.

See Also