WindowsFormsSettings.PopupAnimation Property

Gets or sets the animation effects that follow expanding and collapsing popup menus.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v21.1.dll


public static PopupAnimation PopupAnimation { get; set; }

Property Value

Type Description

A DevExpress.XtraEditors.PopupAnimation enumerator value that specifies animation effects that follow expanding and collapsing popup menus.


The PopupAnimation property allows you to change animation effects for all popup menus in the application. The property accepts four values.

  • System - popup menu animation effects are managed by system settings. You can override the system animation using the BarManagerProperties.MenuAnimationType property.
  • Default - equal to Office2016.
  • None - sub-menus are expanded and collapsed instantly, without any animation effects.

    PopupAnimation - None

  • Office2016 - smooth Microsoft Office-inspired animations.

    PopupAnimation - Office2016

You can also customize shadow effects for popup menus by using the WindowsFormsSettings.PopupShadowStyle property.

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

See Also