共用方式為


Grid.RowDefinitions Property

Definition

Provides the interface for the bound property that gets or sets the collection of RowDefinition objects that control the heights of each row.

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.RowDefinitionCollectionTypeConverter))]
public Xamarin.Forms.RowDefinitionCollection RowDefinitions { get; set; }
member this.RowDefinitions : Xamarin.Forms.RowDefinitionCollection with get, set

Property Value

A RowDefinitionCollection for the Grid instance.

Attributes

Remarks

RowDefinitions is an ordered set of RowDefinition objects that determine the height of each row. Each successive RowDefintion controls the width of each successive row. If RowDefinitions is empty, or if there are more rows than definitions, then rows for which there is no definition are rendered as if they were controlled by a RowDefinition object that has its Height property set to Star.

Applies to