XamlRoot XamlRoot XamlRoot XamlRoot Class

Definition

Represents a tree of XAML content and information about the context in which it is hosted.

public : sealed class XamlRoot
struct winrt::Windows::UI::Xaml::XamlRoot
public sealed class XamlRoot
Public NotInheritable Class XamlRoot
Attributes

Windows 10 requirements

Device family
Windows 10, version 1903 (introduced v10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v8)

Properties

Content Content Content Content

Gets the root element of the XAML element tree.

IsHostVisible IsHostVisible IsHostVisible IsHostVisible

Gets a value that indicates whether the XamlRoot is visible.

RasterizationScale RasterizationScale RasterizationScale RasterizationScale

Gets a value that represents the number of raw (physical) pixels for each view pixel.

Size Size Size Size

Gets the width and height of the content area.

UIContext UIContext UIContext UIContext

Gets the context identifier for the view.

Events

Changed Changed Changed Changed

Occurs when a property of XamlRoot has changed.