FlexBasis.Length Property

Definition

Gets the absolute or relative length of the basis.

public float Length { get; }
member this.Length : single

Property Value

System.Single

The absolute or relative length of the basis.

Remarks

If true was passed for the isRelative parameter of the FlexBasis constructor, then the returned value is the relative length basis, which is a value in the range [0,1], of UI elements that are described by this struct. If false or no value was passed, then the returned value is the absolute length basis, in device-indepentend pixels, of UI elements that are described by this struct.

Applies to