LayoutHelperGetLayoutScale Method

Obtains layout scale of the given control.

Definition

Namespace: Avalonia.Layout
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static double GetLayoutScale(
	Layoutable control
)

Parameters

control  Layoutable
The control.

Return Value

Double

Exceptions

ExceptionThrown when control has no root or returned layout scaling is invalid.

See Also