BreadCrumbEdit.Path Property
Gets or sets the current nodes path within this BreadCrumbEdit, starting from a root BreadCrumbNode to the last node visible.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
A String value that is the textual representation of the current Bread |
#Remarks
The Path property returns the string value that specifies the full path within this BreadCrumbEdit that needs to be traveled starting from the first root node to get to the last currently selected node. Nodes, whose BreadCrumbNode.Persistent property equals true, are not included in the BreadCrumbEdit path.
You can use the Path property to manually specify the editor’s path with new, yet undefined nodes. In this case, handle the RepositoryItemBreadCrumbEdit.ValidatePath, RepositoryItemBreadCrumbEdit.NewNodeAdding and RepositoryItemBreadCrumbEdit.QueryChildNodes events to create and dynamically populate these nodes. See the Breadcrumb Edit Control topic for an example.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Path property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.