ScreenScaling Property

Gets the scaling factor applied to the screen by the operating system.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public double Scaling { get; protected set; }

Property Value

Double

Remarks

Multiply this value by 100 to get a percentage. Both X and Y scaling factors are assumed uniform.

See Also