NavItemCollection.Item[String] Property

Gets an item of the collection by its name.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v21.2.dll


public virtual NavBarItem this[string name] { get; }


Name Type Description
name String

A string value specifying the name of the desired item.

Property Value

Type Description

A NavBarItem object with the required name. null (Nothing in Visual Basic) if there are no items with the specified name in the collection.


The parameter value is compared to the ComponentCollectionItem.Name property of NavBarItem objects when searching.

See Also