Share via


Popup.IsConstrainedToRootBounds Property

Definition

Gets a value that indicates whether the popup is shown within the bounds of the XAML root.

public:
 property bool IsConstrainedToRootBounds { bool get(); };
bool IsConstrainedToRootBounds();
public bool IsConstrainedToRootBounds { get; }
var boolean = popup.isConstrainedToRootBounds;
Public ReadOnly Property IsConstrainedToRootBounds As Boolean

Property Value

Boolean

bool

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

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

For more info, see ShouldConstrainToRootBounds.

Applies to

See also