Share via


Popup.IsConstrainedToRootBounds 屬性

定義

取得值,這個值表示快顯是否顯示在 XAML 根目錄的界限內。

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

屬性值

Boolean

bool

如果快顯視窗顯示在 XAML 根目錄的界限內,則為true;否則為false

Windows 需求

裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v8.0 引進)

備註

如需詳細資訊,請參閱 ShouldConstrainToRootBounds

適用於

另請參閱