Skip to main content

NavigationFrame.AllowTransitionAnimation Property

Gets or sets whether or not changing the frame’s selected page is followed by animation effects.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v22.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowTransitionAnimation { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

True, if changing the frame’s selected page is followed with animation effects; False if not; Default uses the WindowsFormsSettings.AnimationMode global setting.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

If the AllowTransitionAnimation property is set to Default, the behavior is controlled by the WindowsFormsSettings.AnimationMode global setting:

  • for NavigationFrame control, animations are enabled if the global setting equals AnimationMode.Default or AnimationMode.EnableAll;
  • for NavigationPane and TabPane controls, animations are enabled only if the global setting is explicitly set to AnimationMode.EnableAll.

To set the desired animation effect, use the NavigationFrame.TransitionType property.

See Also