Share via


Popup.PlacementTarget Property

Definition

Gets or sets the element to use as the popup's placement target.

public:
 property FrameworkElement ^ PlacementTarget { FrameworkElement ^ get(); void set(FrameworkElement ^ value); };
FrameworkElement PlacementTarget();

void PlacementTarget(FrameworkElement value);
public FrameworkElement PlacementTarget { get; set; }
var frameworkElement = popup.placementTarget;
popup.placementTarget = frameworkElement;
Public Property PlacementTarget As FrameworkElement

Property Value

The element to use as the popup's placement target.

Applies to