AbsoluteLayout.GetLayoutFlags 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
GetLayoutFlags(BindableObject) |
Gets 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. |
GetLayoutFlags(IView) |
Gets 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. |
GetLayoutFlags(BindableObject)
- Source:
- AbsoluteLayout.cs
- Source:
- AbsoluteLayout.cs
- Source:
- AbsoluteLayout.cs
Gets 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 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
The bindable object to retrieve the layout flags for.
Returns
The layout flags applied to the given bindable 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)
- Source:
- AbsoluteLayout.cs
- Source:
- AbsoluteLayout.cs
- Source:
- AbsoluteLayout.cs
Gets 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:
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
The view to retrieve the layout flags for.
Returns
The layout flags applied to the given view.