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

DataControlBase.SortBy(ColumnBase) Method

Sorts data by the values of the specified column.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

public void SortBy(
    ColumnBase column
)

Parameters

Name Type Description
column ColumnBase

The grid column.

Remarks

The GridControl allows you to sort its data by multiple columns. The GridControl does not clear previous sort options when you call the SortBy method.

Refer to the following help topic for more information: Sort Data.

See Also