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.v24.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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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