Back to Devexpress

BarManagerProperties.MenuAnimationType Property

windowsforms-devexpress-dot-xtrabars-dot-barmanagerproperties-7866790b.md

latest3.2 KB
Original Source

BarManagerProperties.MenuAnimationType Property

Gets or sets the type of animation used for the menu.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public AnimationType MenuAnimationType { get; set; }
vb
Public Property MenuAnimationType As AnimationType

Property Value

TypeDefaultDescription
AnimationTypeDefault

An AnimationType enumeration member specifying the menu’s animation type.

|

Available values:

NameDescription
System

The animation type is determined by the system settings.

| | None |

The menu is shown immediately without any visual effects.

| | Slide |

The menu is slid in vertically, from top to bottom.

| | Fade |

The menu is faded in.

| | Unfold |

The menu is unfolded from the top left corner to the bottom right corner.

| | Random |

The animation effects are randomized.

| | Default |

Equivalent to the System value.

|

Remarks

The MenuAnimationType property is in effect if the WindowsFormsSettings.PopupAnimation global setting is set to System. Otherwise, the animation is controlled by the global setting.

If the WindowsFormsSettings.AnimationMode global setting is set to DisableAll or EnableLimited , the animation is forcibly disabled, regardless of the WindowsFormsSettings.PopupAnimation and MenuAnimationType property values.

Use the MenuAnimationType property to specify the manner in which the item’s menu appears. Available animation types are described in the AnimationType topic.

At runtime, end-users can specify the menu animation type by using the Customization Window.

See Also

AnimationType

MenuAnimationType

PopupAnimation

AnimationMode

BarManagerProperties Class

BarManagerProperties Members

DevExpress.XtraBars Namespace