Skip to main content

IPresentationSource Interface

Definition

Assembly:Avalonia.Base
Package:Avalonia

Represents the host of the visual tree. On desktop platforms this is typically backed by a native window.

public interface IPresentationSource

Properties

NameDescription
RenderScalingThe scaling factor to use in rendering.
RootVisualThe 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; }