共用方式為


UITableViewScrollPosition 列舉

定義

預先定義的捲動位置列舉。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITableViewScrollPosition
type UITableViewScrollPosition = 
繼承
UITableViewScrollPosition
屬性

欄位

Bottom 3

將儲存格捲動至檢視底部。

Middle 2

將感興趣的資料列捲動至檢視的中間。

None 0

最小捲動,讓要求的資料格可見。

Top 1

將感興趣的資料列捲動至檢視頂端。

備註

此方法會 ScrollToRow(NSIndexPath, UITableViewScrollPosition, Boolean) 使用此方法

適用於