Represents a length measurement.
The following tables list the members exposed by the Unit type.
Name | Description | |
---|---|---|
Initializes a new instance of the Unit class. |
Name | Description | |
---|---|---|
Gets a value representing whether this Unit instance has a set value. |
||
The unit type. |
||
The unit value. |
Name | Description | |
---|---|---|
Creates an empty Unit instance. |
||
Creates a Unit instance from a string representation. |
||
Creates a Unit instance with the specified value and UnitType.Percent. |
||
Creates a Unit instance with the specified value and UnitType.Pixel. |
||
Returns a string representation of this Unit. |