共用方式為


Grid.SetRowSpan(BindableObject, Int32) Method

Definition

Changes the row span of the specified child element.

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

Parameters

bindable
BindableObject

A child element of this Grid on which to assign a new row span.

value
System.Int32

The new row span.

Remarks

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

Attached PropertyValue
RowSpanAn integer that represents the number of rows that the item will span.

Applies to