Share via


FlexLayout.GetAlignSelf 方法

定义

重载

GetAlignSelf(IView)
GetAlignSelf(BindableObject)

返回值,该值可选择性地替代该子元素在父元素的行或列中的项对齐方式。

GetAlignSelf(IView)

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

参数

view
IView

返回

实现

适用于

GetAlignSelf(BindableObject)

返回值,该值可选择性地替代该子元素在父元素的行或列中的项对齐方式。

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

参数

bindable
BindableObject

针对其检索属性值的对象。

返回

可选择性地替代该子元素在父元素的行或列中的项对齐方式的值。

适用于