Unit Class |
Namespace: Kettic.AspNet.Controls.ChartModel.Styles
The Unit type exposes the following members.
Name | Description | |
---|---|---|
Unit |
Creates a class instance
| |
Unit(Double) |
Initializes a new instance of the Unit with the specified double precision floating point number.
| |
Unit(Int32) |
Initializes a new instance of the Unit with the specified 32-bit signed integer.
| |
Unit(Single) |
Initializes a new instance of the Unit with the specified double precision floating point number.
| |
Unit(String) |
Initializes a new instance of the Unit with the specified length.
| |
Unit(UnitMode) |
Creates a class instance
| |
Unit(Double, UnitMode) |
Initializes a new instance of the Unit with the specified double precision floating point number and the target type
| |
Unit(Int32, UnitMode) |
Initializes a new instance of the Unit with the specified 32-bit signed integer and the target type
| |
Unit(Single, UnitMode) |
Initializes a new instance of the Unit with the specified double precision floating point number and the target type.
| |
Unit(String, CultureInfo) |
Initializes a new instance of the Unit with the specified length.
|
Name | Description | |
---|---|---|
Equals |
Compares this Unit with the specified object.
(Overrides ObjectEquals(Object).) | |
GetHashCode |
Returns a hash code for this Unit.
(Overrides ObjectGetHashCode.) | |
Parse(String) |
Converts the specified string to a Unit.
| |
Parse(String, CultureInfo) | ||
Percentage |
Creates a Unit of type Percentage from the specified double-precision floating-point number.
| |
Pixel |
Creates a Unit of type Pixel from the specified 32-bit signed integer.
| |
ToString |
Base ToString override
(Overrides ObjectToString.) | |
ToString(CultureInfo) |
Base ToString override
|
Name | Description | |
---|---|---|
Equality |
Compares two Unit objects to determine whether they are equal.
| |
(Single to Unit) |
Implicitly creates a Unit of type Pixel from the specified float.
| |
Inequality |
Compares two Unit objects to determine whether they are not equal.
|
Name | Description | |
---|---|---|
IsEmpty |
Gets whether Unit is empty
| |
Type |
Gets or sets the unit type of the Unit.
| |
Value |
Gets or sets the length of the Unit.
|