RelativeUnit Enumeration

Defines the reference point units of an RelativePoint or RelativeRect.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
C#
public enum RelativeUnit

Members

Relative0 The point is expressed as a fraction of the containing element's size.
Absolute1 The point is absolute (i.e. in pixels).

See Also