ScreenScaling Property
Gets the scaling factor applied to the screen by the operating system.
Namespace: Avalonia.PlatformAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public double Scaling { get; protected set; }
Public Property Scaling As Double
Get
Protected Set
member Scaling : float with get, set
Property Value
Double
Multiply this value by 100 to get a percentage.
Both X and Y scaling factors are assumed uniform.