Skip to main content

TreeListNode.Sort(TreeListColumn, SortOrder, Boolean) Method

Sorts the node’s children against a column.

Namespace: DevExpress.XtraTreeList.Nodes

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public void Sort(
    TreeListColumn column,
    SortOrder order,
    bool recursive = false
)

Parameters

Name Type Description
column TreeListColumn

The sort column.

order SortOrder

The sort order.

Optional Parameters

Name Type Default Description
recursive Boolean False

true, to sort nodes recursively; otherwise, false.

Remarks

See TreeList.Sort for more information.

See Also