UITableViewDataSource.NumberOfSections(UITableView) 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.
Returns the number of sections that are required to display the data.
[Foundation.Export("numberOfSectionsInTableView:")]
public virtual nint NumberOfSections (UIKit.UITableView tableView);
abstract member NumberOfSections : UIKit.UITableView -> nint
override this.NumberOfSections : UIKit.UITableView -> nint
Parameters
- tableView
- UITableView
Table view displaying the sections.
Returns
System.System.IntPtr
System.nativeint
Number of sections required to display the data. The default is 1 (a table must have at least one section).
- Attributes