Share via


AbsoluteLayout.GetLayoutFlags Method

Definition

Overloads

GetLayoutFlags(BindableObject)

Gets the layout flags that were specified when bindable was added to an AbsoluteLayout.

GetLayoutFlags(IView)

GetLayoutFlags(BindableObject)

Gets the layout flags that were specified when bindable was added to an AbsoluteLayout.

public:
 static Microsoft::Maui::Layouts::AbsoluteLayoutFlags GetLayoutFlags(Microsoft::Maui::Controls::BindableObject ^ bindable);
public static Microsoft.Maui.Layouts.AbsoluteLayoutFlags GetLayoutFlags (Microsoft.Maui.Controls.BindableObject bindable);
static member GetLayoutFlags : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Layouts.AbsoluteLayoutFlags
Public Shared Function GetLayoutFlags (bindable As BindableObject) As AbsoluteLayoutFlags

Parameters

bindable
BindableObject

A visual element.

Returns

The layout flags of the object.

Remarks

This method supports the AbsoluteLayout.LayoutFlags XAML attached property. In XAML, Application developers can specify the following AbsoluteLayoutFlags enumeration value names for the value of this property on the children of a AbsoluteLayout:

  • All :
  • None :
  • HeightProportional :
  • WidthProportional :
  • SizeProportional :
  • XProportional :
  • YProportional :
  • PositionProportional :

Application developers can combine any of the above values by supplying a comma-separated list.

Applies to

GetLayoutFlags(IView)

public:
 virtual Microsoft::Maui::Layouts::AbsoluteLayoutFlags GetLayoutFlags(Microsoft::Maui::IView ^ view);
public Microsoft.Maui.Layouts.AbsoluteLayoutFlags GetLayoutFlags (Microsoft.Maui.IView view);
abstract member GetLayoutFlags : Microsoft.Maui.IView -> Microsoft.Maui.Layouts.AbsoluteLayoutFlags
override this.GetLayoutFlags : Microsoft.Maui.IView -> Microsoft.Maui.Layouts.AbsoluteLayoutFlags
Public Function GetLayoutFlags (view As IView) As AbsoluteLayoutFlags

Parameters

view
IView

Returns

Implements

Applies to