Popup::Placement Property
Gets or sets the orientation of the Popup control when the control opens, and specifies the behavior of the Popup control when it overlaps screen boundaries.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: [BindableAttribute(true)] property PlacementMode Placement { PlacementMode get(); void set(PlacementMode value); }
Property Value
Type: System.Windows.Controls.Primitives::PlacementModeA PlacementMode enumeration value that determines the orientation of the Popup control when the control opens, and that specifies how the control interacts with screen boundaries. The default is Bottom.
You can position a popup by setting the PlacementTarget, PlacementRectangle, Placement, HorizontalOffset, and VerticalOffsetProperty properties. For more information, see Popup Placement Behavior.
If the MenuDropAlignment property is true, setting Placement to Left or Right reverses the position of the Popup; a Popup with Placement set to Left aligns its left edge with the right edge of PlacementTarget and a Popup with Placement set to Right aligns its right edge with the left edge of PlacementTarget.
Identifier field | |
Metadata properties set to true | None |
Available since 3.0