PopupPlacementMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines constants that specify the preferred location for positioning a popup relative to a visual element.
public enum class PopupPlacementMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class PopupPlacementMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum PopupPlacementMode
Public Enum PopupPlacementMode
- Inheritance
-
PopupPlacementMode
- Attributes
Fields
Name | Value | Description |
---|---|---|
Auto | 0 | Preferred location is determined automatically. |
Top | 1 | Preferred location is above the target element. |
Bottom | 2 | Preferred location is below the target element. |
Left | 3 | Preferred location is to the left of the target element. |
Right | 4 | Preferred location is to the right of the target element. |
TopEdgeAlignedLeft | 5 | Preferred location is above the target element, with the left edge of popup aligned with left edge of the target element. |
TopEdgeAlignedRight | 6 | Preferred location is above the target element, with the right edge of popup aligned with right edge of the target element. |
BottomEdgeAlignedLeft | 7 | Preferred location is below the target element, with the left edge of popup aligned with left edge of the target element. |
BottomEdgeAlignedRight | 8 | Preferred location is below the target element, with the right edge of popup aligned with right edge of the target element. |
LeftEdgeAlignedTop | 9 | Preferred location is to the left of the target element, with the top edge of popup aligned with top edge of the target element. |
LeftEdgeAlignedBottom | 10 | Preferred location is to the left of the target element, with the bottom edge of popup aligned with bottom edge of the target element. |
RightEdgeAlignedTop | 11 | Preferred location is to the right of the target element, with the top edge of popup aligned with top edge of the target element. |
RightEdgeAlignedBottom | 12 | Preferred location is to the right of the target element, with the bottom edge of popup aligned with bottom edge of the target element. |