[]
Gets or sets the element relative to which the DropDownWindow is positioned when it opens. This is a dependency property.
[Bindable(true)]
public UIElement PlacementTarget { get; set; }
<Bindable(True)>
Public Property PlacementTarget As UIElement
Type | Description |
---|---|
UIElement | The UIElement that is the logical parent of the DropDownWindow. The default is null. |
You can position a popup by setting the PlacementTarget, PlacementRectangle, Placement, HorizontalOffset, and VerticalOffset properties. For more information, see Popup Placement Behavior.