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의 속성이 변경되면 발생합니다.

적용 대상