Back to Devexpress

NavigationFrame.AllowTransitionAnimation Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navigationframe-be0d892d.md

latest2.9 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean AllowTransitionAnimation { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowTransitionAnimation As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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:

NameDescriptionReturn 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

TransitionType

AnimationMode

NavigationFrame Class

NavigationFrame Members

DevExpress.XtraBars.Navigation Namespace