Skip to main content
Tag

ColumnBase.SortIndex Property

Gets the column’s position among sorted columns.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

[Browsable(false)]
public int SortIndex { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the zero-based column’s index among sorted columns. -1 if data is not sorted by this column.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SortIndex 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