[]
Casting operator to convert a double into a GridLength of type GridUnitType.Absolute.
public static implicit operator GridLength(double absoluteValue)
Type | Name | Description |
---|---|---|
double | absoluteValue | The absolute size. |
Type | Description |
---|---|
GridLength | A GridLength of type GridUnitType.Absolute and of size absolute size. |
Casting operator to convert a string into a GridLength.
public static implicit operator GridLength(string lengthString)
Type | Name | Description |
---|---|---|
string | lengthString | The string specifying a length. |
Type | Description |
---|---|
GridLength |