XamlRoot クラス

定義

XAML コンテンツのツリーと、それがホストされているコンテキストに関する情報を表します。

public ref class XamlRoot sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class XamlRoot final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class XamlRoot
Public NotInheritable Class XamlRoot
継承
Object Platform::Object IInspectable XamlRoot
属性

プロパティ

Content

XAML 要素ツリーのルート要素を取得します。

ContentIslandEnvironment

コンテンツ アイランドの一般的な環境情報を取得します。

IsHostVisible

XamlRoot が表示されるかどうかを示す値を取得します。

RasterizationScale

各ビュー ピクセルの生 (物理) ピクセルの数を表す値を取得します。

Size

コンテンツ領域の幅と高さを取得します。

イベント

Changed

XamlRoot のプロパティが変更されたときに発生します。

適用対象