Partager via


FlexLayout.SetGrow Method

Definition

Overloads

SetGrow(BindableObject, Single)

Sets the value that determines the proportional growth that this element will accept to acccommodate the layout in the row or column.

SetGrow(IView, Single)

SetGrow(BindableObject, Single)

Source:
FlexLayout.cs
Source:
FlexLayout.cs

Sets the value that determines the proportional growth that this element will accept to acccommodate the layout in the row or column.

public:
 static void SetGrow(Microsoft::Maui::Controls::BindableObject ^ bindable, float value);
public static void SetGrow (Microsoft.Maui.Controls.BindableObject bindable, float value);
static member SetGrow : Microsoft.Maui.Controls.BindableObject * single -> unit
Public Shared Sub SetGrow (bindable As BindableObject, value As Single)

Parameters

bindable
BindableObject

The object for which to retrieve the property value.

value
Single

The new flex growth value.

Applies to

SetGrow(IView, Single)

Source:
FlexLayout.cs
Source:
FlexLayout.cs
public:
 void SetGrow(Microsoft::Maui::IView ^ view, float grow);
public void SetGrow (Microsoft.Maui.IView view, float grow);
member this.SetGrow : Microsoft.Maui.IView * single -> unit
Public Sub SetGrow (view As IView, grow As Single)

Parameters

view
IView
grow
Single

Applies to