Skip to main content

NavItemCollection.Item[String] Property

Gets an item of the collection by its name.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

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

Parameters

Name Type Description
name String

A string value specifying the name of the desired item.

Property Value

Type Description
NavBarItem

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

Remarks

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

See Also