IPresentationSource Interface
Definition
Represents the host of the visual tree. On desktop platforms this is typically backed by a native window.
public interface IPresentationSource
Properties
| Name | Description |
|---|---|
| RenderScaling | The scaling factor to use in rendering. |
| RootVisual | The current root of the visual tree |
RenderScaling Property
The scaling factor to use in rendering.
public double RenderScaling { get; set; }
RootVisual Property
The current root of the visual tree
public Avalonia.Visual RootVisual { get; set; }