Popup.DesiredPlacement 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 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)
|