Delen via


AbsoluteLayout.SetLayoutFlags Method

Definition

Overloads

SetLayoutFlags(BindableObject, AbsoluteLayoutFlags)

Sets the layout flags of a view that will be used to interpret the layout bounds set on it when it is added to the layout.

SetLayoutFlags(IView, AbsoluteLayoutFlags)

Sets the layout flags of a view that will be used to interpret the layout bounds set on it when it is added to the layout.

SetLayoutFlags(BindableObject, AbsoluteLayoutFlags)

Source:
AbsoluteLayout.cs
Source:
AbsoluteLayout.cs
Source:
AbsoluteLayout.cs

Sets the layout flags of a view that will be used to interpret the layout bounds set on it when it is added to the layout.

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

Parameters

bindable
BindableObject

The view on which to set the layout flags.

flags
AbsoluteLayoutFlags

A AbsoluteLayoutFlags that describes the how to interpret the layout bounds for bindable.

Remarks

This method supports the AbsoluteLayout.LayoutFlags XAML attached property. In XAML, application developers can specify one or more of the AbsoluteLayoutFlags enumeration value names for the value of this property on the children of a AbsoluteLayout.

Applies to

SetLayoutFlags(IView, AbsoluteLayoutFlags)

Source:
AbsoluteLayout.cs
Source:
AbsoluteLayout.cs
Source:
AbsoluteLayout.cs

Sets the layout flags of a view that will be used to interpret the layout bounds set on it when it is added to the layout.

public:
 void SetLayoutFlags(Microsoft::Maui::IView ^ view, Microsoft::Maui::Layouts::AbsoluteLayoutFlags flags);
public void SetLayoutFlags(Microsoft.Maui.IView view, Microsoft.Maui.Layouts.AbsoluteLayoutFlags flags);
member this.SetLayoutFlags : Microsoft.Maui.IView * Microsoft.Maui.Layouts.AbsoluteLayoutFlags -> unit
Public Sub SetLayoutFlags (view As IView, flags As AbsoluteLayoutFlags)

Parameters

view
IView

The view to apply the layout flags to.

flags
AbsoluteLayoutFlags

The flags to apply to the view.

Applies to