A newer version of this page is available. Switch to the current version.

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.v19.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue("")]
public string Path { get; set; }
<DXCategory("Behavior")>
<DefaultValue("")>
Public Property Path As String

Property Value

Type Default Description
String

String.Empty

A String value that is the textual representation of the current BreadCrumbEdit nodes path.

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.

See Also