PopupPrimaryAxis Enumeration

 
System_CAPS_noteNote

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

Describes the direction to move a Popup control to increase the amount of the Popup that is visible.

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

public enum PopupPrimaryAxis

Member nameDescription
Horizontal

A Popup control changes position by moving along the horizontal axis of the screen before moving along the vertical axis.

None

A Popup control changes position according to default Popup behavior.

Vertical

A Popup control changes position by moving along the vertical axis of the screen before moving along the horizontal axis.

This enumeration is a return value type for a CustomPopupPlacementCallback delegate that is used to define custom placement for a Popup.

.NET Framework
Available since 3.0
Return to top
Show: