Delen via


Popup.DesiredPlacement Property

Definition

Gets or sets the preferred placement to be used for the popup, in relation to its placement target.

public:
 property PopupPlacementMode DesiredPlacement { PopupPlacementMode get(); void set(PopupPlacementMode value); };
PopupPlacementMode DesiredPlacement();

void DesiredPlacement(PopupPlacementMode value);
public PopupPlacementMode DesiredPlacement { get; set; }
var popupPlacementMode = popup.desiredPlacement;
popup.desiredPlacement = popupPlacementMode;
Public Property DesiredPlacement As PopupPlacementMode

Property Value

A value of the enumeration that indicates the preferred placement to be used for the popup, in relation to its placement target.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to