Szerkesztés

Megosztás a következőn keresztül:


UITableView.DeselectRow(NSIndexPath, Boolean) Method

Definition

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.

Applies to