FlexBasis(Single, Boolean) Constructor

Definition

Creates a new flex basis struct.

public FlexBasis (float length, bool isRelative = false);
new Xamarin.Forms.FlexBasis : single * bool -> Xamarin.Forms.FlexBasis

Parameters

length
System.Single

The absolute size (in device-independent pixels) or the relative size (a float in the range [0,1]), depending on the value of isRelative.

isRelative
System.Boolean

Whether to interpret length as an absolute or relative size. Default value is false.

Applies to