FlexLayout.GetAlignSelf 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
针对其检索属性值的对象。
返回
可选择性地替代该子元素在父元素的行或列中的项对齐方式的值。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈