Back to Devexpress

WindowsFormsSettings.PopupAnimation Property

windowsforms-devexpress-dot-xtraeditors-dot-windowsformssettings-6178ce7b.md

latest2.6 KB
Original Source

WindowsFormsSettings.PopupAnimation Property

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

Declaration

csharp
public static PopupAnimation PopupAnimation { get; set; }
vb
Public Shared Property PopupAnimation As PopupAnimation

Property Value

TypeDescription
DevExpress.XtraEditors.PopupAnimation

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

|

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.

See Also

PopupShadowStyle

AnimationMode

MenuAnimationType

WindowsFormsSettings Class

WindowsFormsSettings Members

DevExpress.XtraEditors Namespace