Skip to main content
Bar

BarManagerProperties.MenuAnimationType Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public AnimationType MenuAnimationType { get; set; }

Property Value

Type Default Description
AnimationType Default

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

Available values:

Name Description
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.

MenuAnimationType

See Also