Skip to main content
A newer version of this page is available. .

TreeListControlBase.SortInfo Property

Provides access to the collection that contains information on the sorted and grouping columns.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

[Browsable(false)]
public TreeListSortInfoCollection SortInfo { get; }

Property Value

Type Description
TreeListSortInfoCollection

A TreeListSortInfoCollection collection that contains information on the sorted and grouping columns.

Remarks

The SortInfo property is the collection of GridSortInfo objects, allowing you to sort data. A GridSortInfo object specifies a column and its sort order. The SortInfo collection provides methods that allow you to perform common collection management tasks (add, remove or change required settings of individual elements).

To learn more, see TreeListView Sorting Specifics and Sorting in Code.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SortInfo property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also