[]
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. This is a dependency property.
[Bindable(true)]
public PlacementMode Placement { get; set; }
<Bindable(True)>
Public Property Placement As PlacementMode
Type | Description |
---|---|
PlacementMode | A 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 VerticalOffset 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 drop down; a DropDownWindow with Placement set to Left aligns its left edge with the right edge of PlacementTarget and a DropDownWindow with Placement set to Right aligns its right edge with the left edge of PlacementTarget.