UIKit.UITableViewDelegate.ShouldHighlightRow Method
Called prior to highlighting. If this method returns false, the row will not be highlighted.

Syntax

[Foundation.Export("tableView:shouldHighlightRowAtIndexPath:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public virtual bool ShouldHighlightRow (UITableView tableView, Foundation.NSIndexPath rowIndexPath)

Parameters

tableView
The UIKit.UITableView in which the row is located.
rowIndexPath
The location of the row being highlighted.

Returns

true if the row should be highlighted, false otherwise.

Remarks

This method is called prior to highlighing (see the "Highlighting and selection" discussion in the remarks on UIKit.UITableView. Application developers can override this method to gain finer-grained control over row selection.

The default implementation of this method returns true.

Requirements

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