Grid.RowDefinitions 属性

定义

提供绑定属性的接口,该属性获取或设置控制每行高度的 RowDefinition 对象的集合。

public:
 property Microsoft::Maui::Controls::RowDefinitionCollection ^ RowDefinitions { Microsoft::Maui::Controls::RowDefinitionCollection ^ get(); void set(Microsoft::Maui::Controls::RowDefinitionCollection ^ value); };
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.RowDefinitionCollectionTypeConverter))]
public Microsoft.Maui.Controls.RowDefinitionCollection RowDefinitions { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.RowDefinitionCollectionTypeConverter))>]
member this.RowDefinitions : Microsoft.Maui.Controls.RowDefinitionCollection with get, set
Public Property RowDefinitions As RowDefinitionCollection

属性值

Grid 实例的 RowDefinitionCollection。

属性

注解

RowDefinitions 是一组有序的对象 RowDefinition ,用于确定每行的高度。 每个连续的 RowDefintion 控制每个连续行的宽度。 如果 RowDefinitions 为空,或者如果行数多于定义,则呈现没有定义的行,就好像它们由属性设置为 Star的 RowDefinition 对象Height控制一样。

适用于