Back to Devexpress

RepositoryItemBreadCrumbEdit.SortNodesByCaption Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitembreadcrumbedit-cee673b3.md

latest2.1 KB
Original Source

RepositoryItemBreadCrumbEdit.SortNodesByCaption Property

Gets or sets whether or not all visible nodes in the BreadCrumbEdit‘s drop-down menu nodes should be sorted by their captions.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

true if nodes should be sorted by their captions; otherwise, false.

|

Remarks

By default, dynamically populated nodes can display their currently selected children at the top of the drop-down menu (see the following figure).

To force the Breadcrumb Edit Control to always sort its nodes by caption, set the SortNodesByCaption property to true.

See Also

Breadcrumb Edit Control

RepositoryItemBreadCrumbEdit Class

RepositoryItemBreadCrumbEdit Members

DevExpress.XtraEditors.Repository Namespace