UIKit.UITableViewDelegate.RowSelected Method
Called when the row specified by indexPath is selected.

Syntax

[Foundation.Export("tableView:didSelectRowAtIndexPath:")]
public virtual void RowSelected (UITableView tableView, Foundation.NSIndexPath indexPath)

Parameters

tableView
Table view containing the row.
indexPath
Location of the row that has become selected.

Remarks

This method can be used to perform any processing required when a row is selected, such as displaying a UITableViewCellAccessory.Checkmark accessory. In such an example, use the UITableViewSource.RowDeselected(UITableView, Foundation.NSIndexPath) to hide the checkmark.

Alternatively this method may push a new view controller onto a UINavigationController if the table view is part of an hierarchical menu, or display another view or alert depending on the application's requirements.

This method is not called when the table is in editing mode (ie. when UITableView.Editing is true).

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0