共用方式為


Grid.GetRowSpan(BindableObject) 方法

定義

取得 bindable 子項目的資料列範圍。

public static int GetRowSpan (Xamarin.Forms.BindableObject bindable);
static member GetRowSpan : Xamarin.Forms.BindableObject -> int

參數

bindable
BindableObject

屬於方格配置的項目。

傳回

System.Int32

子項目所在的資料列。

備註

方法 GetRowSpan(BindableObject) 會對應至下列 XAML 附加屬性:

附加屬性
RowSpan整數,表示專案將跨越的數據列數目。

方法的 SetRowSpan(BindableObject, Int32) 備註包含 附加屬性的 RowSpan 語法和相關信息。

適用於