[]
        
(Showing Draft Content)

C1.Android.Grid.GridLength.op_Implicit

implicit operator Operator

implicit operator GridLength(double)

Casting operator to convert a double into a GridLength of type GridUnitType.Absolute.

Declaration
public static implicit operator GridLength(double absoluteValue)
Public Shared Widening Operator CType(absoluteValue As Double) As GridLength
Parameters
Type Name Description
double absoluteValue

The absolute size.

Returns
Type Description
GridLength

A GridLength of type GridUnitType.Absolute and of size absolute size.

implicit operator GridLength(string)

Casting operator to convert a string into a GridLength.

Declaration
public static implicit operator GridLength(string lengthString)
Public Shared Widening Operator CType(lengthString As String) As GridLength
Parameters
Type Name Description
string lengthString

The string specifying a length.

Returns
Type Description
GridLength