UIKit.UITableViewSource.SectionIndexTitles Method
Returns an array of titles to be displayed as an index on the table view.

Syntax

[Foundation.Export("sectionIndexTitlesForTableView:")]
public virtual string[] SectionIndexTitles (UITableView tableView)

Parameters

tableView
Table view that is displaying the index.

Returns

Array of titles, for example to display an alphabetized list return an array of strings from "A" to "Z".

Remarks

The index list appears along the right edge of a table view.

Only tables with the UITableViewStyle.Plain style should implement this property.

Declared in [UITableViewDataSource]

If the returned array contains UITableView.IndexSearch, the corresponding section index will display a magnifying glass icon. If the application developer desires this behavior, UITableView.IndexSearch should typically be the first value in the array.

Requirements

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