Compartilhar via


FlexLayout.SetBasis Method

Definition

Overloads

SetBasis(BindableObject, FlexBasis)

Sets the value that describes this element's relative or absolute basis length.

SetBasis(IView, FlexBasis)

SetBasis(BindableObject, FlexBasis)

Source:
FlexLayout.cs
Source:
FlexLayout.cs

Sets the value that describes this element's relative or absolute basis length.

public:
 static void SetBasis(Microsoft::Maui::Controls::BindableObject ^ bindable, Microsoft::Maui::Layouts::FlexBasis value);
public static void SetBasis (Microsoft.Maui.Controls.BindableObject bindable, Microsoft.Maui.Layouts.FlexBasis value);
static member SetBasis : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Layouts.FlexBasis -> unit
Public Shared Sub SetBasis (bindable As BindableObject, value As FlexBasis)

Parameters

bindable
BindableObject

The object for which to retrieve the property value.

value
FlexBasis

The new flex basis value.

Applies to

SetBasis(IView, FlexBasis)

Source:
FlexLayout.cs
Source:
FlexLayout.cs
public:
 void SetBasis(Microsoft::Maui::IView ^ view, Microsoft::Maui::Layouts::FlexBasis basis);
public void SetBasis (Microsoft.Maui.IView view, Microsoft.Maui.Layouts.FlexBasis basis);
member this.SetBasis : Microsoft.Maui.IView * Microsoft.Maui.Layouts.FlexBasis -> unit
Public Sub SetBasis (view As IView, basis As FlexBasis)

Parameters

view
IView
basis
FlexBasis

Applies to