Skip to main content

Unit Members

The length measurement.

Constructors

Name Description
Unit() Initializes a new instance of the Unit class with default settings.
Unit(Double, UnitType) Initializes a new instance of the Unit class with the specified value and the unit type.
Unit(Double) Initializes a new instance of the Unit class with the specified absolute value.

Fields

Name Description
UnitTypeProperty static Identifies the Unit.UnitType dependency property.
ValueProperty static Identifies the Unit.Value dependency property.

Properties

Name Description
UnitType Returns the type of the unit.
Value Returns the value of the unit.

Methods

Name Description
GetAbsolute(Double, Double) Returns the unit value as an absolute value.
GetNormalize(Double, Double) Returns the normalized unit value.
See Also