Skip to main content
A newer version of this page is available. .
Tab

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.v20.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 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.

See Also