Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavElement.ToString() Method

Returns the element’s full name.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public override string ToString()

#Returns

Type Description
String

A string value representing the element’s name and caption.

#Remarks

The ToString method overrides the base class’s method to return the element’s full name - its name (ComponentCollectionItem.Name) and caption (NavElement.Caption).

See Also