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.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public virtual TitleIndexItem Add(
string text,
string navigateUrl,
string name
)
#Parameters
Name | Type | Description |
---|---|---|
text | String | A String value specifying the item’s display text. Initializes the item’s Title |
navigate |
String | A String value specifying the URL to which the browser navigates when the item is clicked. Initializes the item’s Title |
name | String | A String value specifying the item’s unique identifier name. Initializes the item’s Title |
#Returns
Type | Description |
---|---|
Title |
A Title |
#Remarks
Use the Add method to add a new item with the specified settings to the TitleIndexItemCollection object.