[]
Struct that describe a length.
public struct C1StyleLength
Name | Description |
---|---|
C1StyleLength(double, C1StyleLengthUnit) | Initializes a new instance of the C1StyleLength struct. |
Name | Description |
---|---|
Auto | Gets the auto length. |
FitParent | Gets the 100% length. |
HalfParent | Gets the 50% length. |
Inherit | Gets the "inherit" length. |
IsAbsolute | Returns whether the length is an absolute distance. |
Kind | Gets the kind of length. |
MaxContent | Gets the max-content length. |
MinContent | Gets the min-content length. |
Unit | Gets the unit in which the length is expressed. |
Value | Gets the amount of Unit. |
Name | Description |
---|---|
Equals(object) | |
GetHashCode() | |
Parse(string) | Parses the text and returns a length. |
ToString() | |
TryParse(string, out C1StyleLength) | Tries to parse the specified |
Name | Description |
---|---|
operator ==(C1StyleLength, C1StyleLength) | Compares two C1StyleLength structures for equality. |
implicit operator C1StyleLength(double) | Casting operator to convert a double into a C1StyleLength. The unit assigned is pixels. |
implicit operator C1StyleLength(string) | Casting operator to convert a string into a C1StyleLength. |
operator !=(C1StyleLength, C1StyleLength) | Compares two C1StyleLength structures for inequality. |