UIKit.UITableView.DeselectRow Method
Deselect a given row in a table view, with an option to animate the deselection.

Syntax

[Foundation.Export("deselectRowAtIndexPath:animated:")]
public virtual void DeselectRow (Foundation.NSIndexPath indexPath, bool animated)

Parameters

indexPath

An Foundation.NSIndexPath identifying a row in the table view.

This parameter can be null.

animated
true if the deseletion should be animated, false if it should occur immediately.

Remarks

Calling this method does not trigger UITableViewSource.WillSelectRow(UITableView, Foundation.NSIndexPath) nor will it send UITableView.SelectionDidChangeNotification notifications.

This method does not cause any scrolling to the deselected row.

Requirements

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