Share via


Popup.ShouldConstrainToRootBounds Property

Definition

Gets or sets a value that indicates whether the popup should be shown within the bounds of the XAML root.

public:
 property bool ShouldConstrainToRootBounds { bool get(); void set(bool value); };
bool ShouldConstrainToRootBounds();

void ShouldConstrainToRootBounds(bool value);
public bool ShouldConstrainToRootBounds { get; set; }
var boolean = popup.shouldConstrainToRootBounds;
popup.shouldConstrainToRootBounds = boolean;
Public Property ShouldConstrainToRootBounds As Boolean

Property Value

Boolean

bool

true if the popup should be shown within the bounds of the XAML root; otherwise, false. The default is true.

Remarks

This property is supported in Windows App SDK apps as of version 1.4. Before that the IsConstrainedToRootBounds property was always true.

Applies to

See also