UITableView.IndexPathForSelectedRow Property

Definition

The NSIndexPath for the currently-selected row.

public virtual Foundation.NSIndexPath IndexPathForSelectedRow { [Foundation.Export("indexPathForSelectedRow")] get; }
member this.IndexPathForSelectedRow : Foundation.NSIndexPath

Property Value

The NSIndexPath for the most-recently-selected of the currently-selected rows. Returns null if there are no selected rows.

Attributes

Remarks

If the UITableView contains more than one selected row, this property holds the most-recently-selected of the rows (see also IndexPathsForSelectedRows).

Applies to

See also

  • <xref:UIKit.UITableView.SelectedRow>