Popup.ShouldConstrainToRootBounds Property
Definition
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 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.