The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridControl.SortBy(GridColumnBase) Method

Sorts data by the values of the specified column.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.1.dll


public void SortBy(
    GridColumnBase column
Public Sub SortBy(
    column As GridColumnBase


Name Type Description
column GridColumnBase

A GridColumnBase descendant that represents the column within the grid.


The grid control allows data sorting by multiple columns. Any previous sorting is not cleared when calling the SortBy method.

End-users are allowed to sort data if the grid's DataControlBase.AllowSorting property is set to true.

To learn more, see Sorting.

See Also