FlyoutBase.ShouldConstrainToRootBounds Property
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 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);
C#
public bool ShouldConstrainToRootBounds { get; set; }
var boolean = flyoutBase.shouldConstrainToRootBounds;
flyoutBase.shouldConstrainToRootBounds = boolean;
Public Property ShouldConstrainToRootBounds As Boolean
Boolean
bool
true if the flyout should be shown within the bounds of the XAML root; otherwise, false.
This property is supported in Windows App SDK apps as of version 1.4. Before that the IsConstrainedToRootBounds property is always true.
Product | Versions |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |