PopupAnimation Enumeration


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Describes how a Popup control animates when it opens.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public enum PopupAnimation

Member nameDescription

The Popup control gradually appears, or fades in. This effect is created by increasing the opacity of the Popup window over time.


The Popup control appears without animation.


The Popup control scrolls from the upper-left corner of its parent. If the screen does not provide enough room to allow the Popup default behavior, the Popup scrolls from the lower-right corner instead.


The Popup control slides down or up into place. By default, a Popup slides down. However, if the screen does not provide enough room for the Popup to slide down, it slides up instead.

To specify a type of animation for a Popup control, set the PopupAnimation property to one of the enumeration values.

.NET Framework
Available since 3.0
Return to top