Share via


Popup.IsConstrainedToRootBounds 屬性

定義

取得值,這個值表示快顯是否顯示在 XAML 根目錄的界限內。 對於 Windows 應用程式 SDK 應用程式,此屬性一律為 true

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 應用程式 SDK 應用程式,這個值一律為 true

備註

如需詳細資訊,請參閱 ShouldConstrainToRootBounds

適用於

另請參閱