TTMSFNCTableViewCategories Class
Ordered collection of category items used to group table view rows.
API unit family: TMSFNCTableView
Inherits from: TTMSFNCOwnedCollection
Syntax
TTMSFNCTableViewCategories = class(TTMSFNCOwnedCollection)
Properties
| Name | Description |
|---|---|
| Items | Gets or sets items. |
Methods
| Name | Description |
|---|---|
| Add | Appends a new category to the collection and returns it. |
| Clear | Removes all categories from the collection. |
| Delete | Removes the category at the given zero-based index from the collection. |
| Insert | Inserts a new category at the specified index and returns it. |
| ItemById | Returns the category with the given identifier. |
| ItemIndexById | Returns the collection index of the category with the given identifier. |
| Sort | Sorts categories by text. |