[]
        
(Showing Draft Content)

C1.Blazor.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)
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)
Parameters
Type Name Description
string lengthString

The string specifying a length.

Returns
Type Description
GridLength