TitleIndexItemCollection.Add(String, String, String) Method
Adds a new item to the collection and specifies the item’s display text, URL and unique identifier name.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.2.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | A String value specifying the item’s display text. Initializes the item’s TitleIndexItem.Text property. |
| navigateUrl | String | A String value specifying the URL to which the browser navigates when the item is clicked. Initializes the item’s TitleIndexItem.NavigateUrl property. |
| name | String | A String value specifying the item’s unique identifier name. Initializes the item’s TitleIndexItem.Name property. |
Returns
| Type | Description |
|---|---|
| TitleIndexItem | A TitleIndexItem object representing the newly created item. |
Remarks
Use the Add method to add a new item with the specified settings to the TitleIndexItemCollection object.