BreadCrumbNode(String, Object) Constructor
Initializes a new instance of the BreadCrumbNode class with the specified settings.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.