FlexBasis(Single, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.