UIKit.UITableViewSource.TitleForHeader Method
Called to populate the header for the specified section.

Syntax

[Foundation.Export("tableView:titleForHeaderInSection:")]
public virtual string TitleForHeader (UITableView tableView, nint section)

Parameters

tableView
Table view containing the section.
section
Index of the section displaying the header.

Returns

Text to display in the section header, or null if no title is required.

Remarks

Table views use a fixed style for the section header. To customize the appearance of the header, return a custom view from UITableViewSource.GetViewForHeader(UITableView, nint) instead of implementing this method.

Declared in [UITableViewDataSource]

Requirements

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