Skip to main content
Version: 3.5

DataGridViewColumnSortMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Defines how a DataGridView column can be sorted by the user.

public enum DataGridViewColumnSortMode : Enum

Fields​

NameDescription
AutomaticThe user can sort the column by clicking the column header unless the column headers are used for selection. A sorting glyph will be displayed automatically.
NotSetThe sorting behavior of the column is inherited from the DefaultSortMode property.
NotSortableThe column can only be sorted programmatically.
ProgrammaticThe column can only be sorted programmatically, and a sorting glyph will be displayed automatically.

Used By​

NameDescription
DataGridViewColumn.InheritedSortModeReturns the sort mode in effect for the column.
DataGridViewColumn.SortModeReturns or sets the sort mode for the column.