Back to API Reference
Enum

UnitKind

Unit a numeric parameter value is expressed in.

public static readonly UnitKind Absolute = 0

Absolute pixels or a raw axis value (24; explicit 24px / 24abs).

public static readonly UnitKind Percent = 1

Percentage of the base value (150%).

public static readonly UnitKind Em = 2

Multiple of the em / font size (0.5em).

public static readonly UnitKind Delta = 3

Signed pixel delta relative to the base (+10 / -5 when the context default is absolute; explicit 10delta).