Edytuj

Udostępnij za pośrednictwem


UITableViewDataSource.SectionIndexTitles(UITableView) Method

Definition

Returns an array of titles to be displayed as an index on the table view.

[Foundation.Export("sectionIndexTitlesForTableView:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string[] SectionIndexTitles (UIKit.UITableView tableView);
abstract member SectionIndexTitles : UIKit.UITableView -> string[]
override this.SectionIndexTitles : UIKit.UITableView -> string[]

Parameters

tableView
UITableView

Table view that is displaying the index.

Returns

String[]

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

Attributes

Remarks

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

Only tables with the Plain style should implement this property.

Applies to