共用方式為


GridLength.Implicit(Double to GridLength) Operator

Definition

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

public static implicit operator Xamarin.Forms.GridLength (double absoluteValue);
static member op_Implicit : double -> Xamarin.Forms.GridLength

Parameters

absoluteValue
System.Double

The absolute size

Returns

A GridLength of type GridUnitType.Absolute and of size absolutesize

Applies to