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

Declaration

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

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