windowsforms-devexpress-dot-xtraeditors-dot-windowsformssettings-6178ce7b.md
Gets or sets the animation effects that follow expanding and collapsing popup menus.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
public static PopupAnimation PopupAnimation { get; set; }
Public Shared Property PopupAnimation As PopupAnimation
| Type | Description |
|---|---|
| DevExpress.XtraEditors.PopupAnimation |
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.
Office2016 - smooth Microsoft Office-inspired animations.
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