Click or drag to resize
Unit Methods

The Unit type exposes the following members.

Methods
  Name Description
Public method Equals
Compares this Unit with the specified object.
(Overrides ObjectEquals(Object).)
Public method GetHashCode
Returns a hash code for this Unit.
(Overrides ObjectGetHashCode.)
Public method Static member Parse(String)
Converts the specified string to a Unit.
Public method Static member Parse(String, CultureInfo)
Public method Static member Percentage
Creates a Unit of type Percentage from the specified double-precision floating-point number.
Public method Static member Pixel
Creates a Unit of type Pixel from the specified 32-bit signed integer.
Public method ToString
Base ToString override
(Overrides ObjectToString.)
Public method ToString(CultureInfo)
Base ToString override
Top
See Also