Edit

Share via


UITableViewScrollPosition Enum

Definition

An enumeration of predefined scroll positions.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UITableViewScrollPosition
type UITableViewScrollPosition = 
Inheritance
UITableViewScrollPosition
Attributes

Fields

Name Value Description
None 0

Minimal scrolling to make the requested cell visible.

Top 1

Scrolls the row of interest to the top of the view.

Middle 2

Scrolls the row of interest to the middle of the view.

Bottom 3

Scrolls the cell to the bottom of the view.

Remarks

This is used by the ScrollToRow(NSIndexPath, UITableViewScrollPosition, Boolean) method

Applies to