共用方式為


Grid.SetRow(BindableObject, Int32) Method

Definition

Changes the row in which a child element will be placed.

public static void SetRow (Xamarin.Forms.BindableObject bindable, int value);
static member SetRow : Xamarin.Forms.BindableObject * int -> unit

Parameters

bindable
BindableObject

A child element of this Grid to move to a different row.

value
System.Int32

The row in which to place the child element.

Remarks

The SetRow(BindableObject, Int32) method corresponds to the following XAML attached property:

Attached PropertyValue
Row

An integer that represents the row in which the item will appear.

Applies to