XamlRoot Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a tree of XAML content and information about the context in which it is hosted.
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
- Inheritance
- Attributes
Properties
Content |
Gets the root element of the XAML element tree. |
ContentIslandEnvironment |
Gets general environment information for the content island. |
CoordinateConverter | |
IsHostVisible |
Gets a value that indicates whether the XamlRoot is visible. |
RasterizationScale |
Gets a value that represents the number of raw (physical) pixels for each view pixel. |
Size |
Gets the width and height of the content area. |
Events
Changed |
Occurs when a property of XamlRoot has changed. |