UIKit.UITableView.NumberOfRowsInSection Method
Returns the number of rows (table cells) in a given section.

Syntax

[Foundation.Export("numberOfRowsInSection:")]
public virtual nint NumberOfRowsInSection (nint section)

Parameters

section
The index of the section to query. Section indexes start at zero.

Returns

Number of rows in the section.

Remarks

UITableView retrieves this value from the UIKit.UITableViewSource (or UIKit.UITableViewDataSource) and caches it.

Requirements

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