Popup.ShouldConstrainToRootBounds プロパティ

定義

ポップアップを XAML ルートの境界内に表示するかどうかを示す値を取得または設定します。

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

プロパティ値

Boolean

bool

ポップアップを XAML ルートの境界内に表示する必要がある場合は true。それ以外の場合は false。 既定値は trueです。

注釈

このプロパティは、バージョン 1.4 以降Windows アプリ SDKアプリでサポートされています。 それ以前は、 IsConstrainedToRootBounds プロパティは常に true でした。

適用対象

こちらもご覧ください