WindowsFormsSettings.PopupAnimation Property
Gets or sets the animation effects that follow expanding and collapsing popup menus.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
#Property Value
Type | Description |
---|---|
DevExpress. |
A DevExpress. |
#Remarks
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.