PopupAnimation Enumeration

 

Describes how a Popup control animates when it opens.

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

Public Enumeration PopupAnimation

Member nameDescription
Fade

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

None

The Popup control appears without animation.

Scroll

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.

Slide

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
Show: