共用方式為


UITableViewDelegate.GetHeightForFooter(UITableView, nint) 方法

定義

呼叫 以判斷 所 section 指定區段的頁尾高度。

[Foundation.Export("tableView:heightForFooterInSection:")]
public virtual nfloat GetHeightForFooter (UIKit.UITableView tableView, nint section);
abstract member GetHeightForFooter : UIKit.UITableView * nint -> nfloat
override this.GetHeightForFooter : UIKit.UITableView * nint -> nfloat

參數

tableView
UITableView

資料表檢視。

section
System.System.IntPtr System.nativeint

需要頁尾顯示之區段的索引。

傳回

頁尾的高度 (以點為單位,以) 為 float

屬性

備註

此方法可讓區段頁尾具有不同的高度。 如果資料表是 Plain 樣式,則不會呼叫這個方法。

適用於