Skip to main content

BreadCrumbNode.Persistent Property

Gets or sets whether this BreadCrumbNode is constantly visible at runtime.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public bool Persistent { get; set; }

Property Value

Type Default Description
Boolean false

true if this BreadCrumbNode is constantly visible at runtime; otherwise, false.

Remarks

To make a BreadCrumbNode persistent, set its Persistent property to true. This allows you to exclude a node from a nodes hierarchy. Such nodes are mainly designed to store shortcuts to the main or most frequently used paths within a node tree.

Persistent nodes are always visible at runtime wherever an end-user navigates. Thus, make sure that your persistent nodes are root nodes, not child nodes (nodes that are placed into a BreadCrumbNode.ChildNodes collection), because end-users should be able to freely navigate through nodes and no child node can be constantly visible.

Since persistent nodes are constantly visible and do not belong to the node tree, their BreadCrumbNode.Values are not included in any path property (BreadCrumbEdit.Path, BreadCrumbHistoryItem.Path, BreadCrumbNode.Path).

See the Breadcrumb Edit Control topic for details.

See Also