Tab

TitleIndexItemCollection.Add(String, String) Method

Adds a new item to the collection and specifies the item's display text and URL.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public virtual TitleIndexItem Add(
    string text,
    string navigateUrl
)
Public Overridable Function Add(
    text As String,
    navigateUrl As String
) As TitleIndexItem

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.

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