windowsforms-devexpress-dot-xtraeditors-dot-breadcrumbnode-e8c04e1b.md
Gets this BreadCrumbNode‘s path.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
public string Path { get; }
<Browsable(False)>
Public ReadOnly Property Path As String
| Type | Description |
|---|---|
| String |
A String value that is this BreadCrumbNode‘s path.
|
The Path property indicates the sequence of nodes starting from the first node and up to the specific node’s parent and the node’s position within the parent’s BreadCrumbNode.ChildNodes collection. In other words, the Path property returns the Path property value plus this node’s BreadCrumbNode.Value.
In the image below, the “CBS” node’s Path property returns “C:\Windows\Logs\CBS”.
The following code snippets (auto-collected from DevExpress Examples) contain references 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.
winforms-file-explorer-breadcrumb-folder-nav/CS/FileNavigator/Form1.cs#L65
//Populate dynamic nodes
string dir = e.Node.Path;
if (!Directory.Exists(dir))
winforms-how-to-use-zoom-transition-effect/CS/dxSample/Form1.cs#L156
private void repositoryItemBreadCrumbEdit1_QueryChildNodes(object sender, BreadCrumbQueryChildNodesEventArgs e) {
string dir = e.Node.Path;
if(!FileSystemHelper.IsDirExists(dir))
winforms-file-explorer-breadcrumb-folder-nav/VB/Form1.vb#L67
'Populate dynamic nodes
Dim dir As String = e.Node.Path
If (Not Directory.Exists(dir)) Then
winforms-how-to-use-zoom-transition-effect/VB/dxSample/Form1.vb#L165
Private Sub repositoryItemBreadCrumbEdit1_QueryChildNodes(ByVal sender As Object, ByVal e As DevExpress.XtraEditors.BreadCrumbQueryChildNodesEventArgs)
Dim dir As String = e.Node.Path
If Not DevExpress.Utils.Helpers.FileSystemHelper.IsDirExists(dir) Then Return
See Also