FlyoutBase.ShouldConstrainToRootBounds Property

Definition

Gets or sets a value that indicates whether the flyout 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 = flyoutBase.shouldConstrainToRootBounds;
flyoutBase.shouldConstrainToRootBounds = boolean;
Public Property ShouldConstrainToRootBounds As Boolean

Property Value

Boolean

bool

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

Remarks

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

Applies to

See also