The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientNavBarGroup.GetItemByName(name) Method

Returns a group item specified by its name.

Declaration

GetItemByName(name: string): ASPxClientNavBarItem

Parameters

Name Type Description
name string

A string value specifying the name of the item.

Returns

Type Description
ASPxClientNavBarItem

An ASPxClientNavBarItem object that represents the item with the specified name.

Remarks

The items of a particular group can be accessed on the client side by using the navbar's client-side functionality. This method gets the current group's client item object specified by its name. An item's name is defined by the NavBarItem.Name property.

Note that if an invalid name is passed via the parameter, this method returns null.

In order to access a particular item specified by its name from the navbar level, the navbar's ASPxClientNavBar.GetItemByName method can be used.

See Also