Back to Devexpress

BreadCrumbNode.Persistent Property

windowsforms-devexpress-dot-xtraeditors-dot-breadcrumbnode-33f6dbaa.md

latest2.7 KB
Original Source

BreadCrumbNode.Persistent Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool Persistent { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Property Persistent As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

Breadcrumb Edit Control

BreadCrumbNode Class

BreadCrumbNode Members

DevExpress.XtraEditors Namespace