Popup.PlacementTarget Property
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.
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.
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|