Unit Methods
.NET Framework (current version)
Namespace:
System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Compares this Unit with the specified object.(Overrides ValueType.Equals(Object).) |
![]() | GetHashCode() | Returns the hash code for this instance.(Overrides ValueType.GetHashCode().) |
![]() | GetType() | |
![]() ![]() | Parse(String) | Converts the specified string to a Unit. |
![]() ![]() | Parse(String, CultureInfo) | Converts the specified string and System.Globalization.CultureInfo to a Unit. |
![]() ![]() | Percentage(Double) | Creates a Unit of type Percentage from the specified double-precision floating-point number. |
![]() ![]() | Pixel(Int32) | |
![]() ![]() | Point(Int32) | |
![]() | ToString() | This API supports the product infrastructure and is not intended to be used directly from your code. Converts a Unit to a System.String.(Overrides ValueType.ToString().) |
![]() | ToString(CultureInfo) | Converts a Unit to a string equivalent in the specified culture. |
![]() | ToString(IFormatProvider) | Converts a Unit to a string equivalent using the specified format provider. |
Show:

