UITableView.DeselectRow(NSIndexPath, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deselect a given row in a table view, with an option to animate the deselection.
[Foundation.Export("deselectRowAtIndexPath:animated:")]
public virtual void DeselectRow (Foundation.NSIndexPath indexPath, bool animated);
abstract member DeselectRow : Foundation.NSIndexPath * bool -> unit
override this.DeselectRow : Foundation.NSIndexPath * bool -> unit
Parameters
- indexPath
- NSIndexPath
An NSIndexPath identifying a row in the table view.
This parameter can be null
.
- animated
- Boolean
true
if the deseletion should be animated, false
if it should occur immediately.
- Attributes
Remarks
Calling this method does not trigger WillSelectRow(UITableView, NSIndexPath) nor will it send SelectionDidChangeNotification notifications.
This method does not cause any scrolling to the deselected row.