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

BreadCrumbNode(String, Object) Constructor

Initializes a new instance of the BreadCrumbNode class with the specified settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public BreadCrumbNode(
    string caption,
    object value
)

#Parameters

Name Type Description
caption String

A String value that is the newly created node’s caption.

value Object

A String value that is the newly created node’s value.

#Remarks

By default, the node’s BreadCrumbNode.Value is equal to its BreadCrumbNode.Caption. When a BreadCrumbEdit control is in Edit mode (see the RepositoryItemBreadCrumbEdit.BreadCrumbMode property), end-users have to type node values to navigate to these nodes. However, in Select mode, node captions are displayed. Thus, for end-users’ convenience we recommend that the ToString method of an object assigned to the Value property returns the same value assigned to the Caption property.

See Also