FlexLayout.SetBasis Method
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.
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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.