FlyoutBase.IsConstrainedToRootBounds Property

Definition

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

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase.IsConstrainedToRootBounds.

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

Property Value

Boolean

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

Windows 10 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