Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
Boolean false

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).

Breadcrumb - Sort Nodes

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

See Also