RelativeUnit Enum

Summary

Defines the reference point units of an RelativePoint or RelativeRect.
Namespace
Avalonia
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["RelativeUnit"] class Type type-node

Syntax

public enum RelativeUnit

Fields

Name Constant Value Summary
Absolute 1
The point is absolute (i.e. in pixels).
static
Relative 0
The point is expressed as a fraction of the containing element's size.
static

Extension Methods