DataGridViewSortSelectionMode

Wisej.Web.DataGridViewSortSelectionMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Defines values for specifying how the DataGridView updates the selection when it is sorted.

public enum DataGridViewSortSelectionMode : Enum

Fields

NameDescription

ClearSelection

Selection is cleared. When sorting a DataGridView with a DataSource that supports sorting, the selection is always cleared before sorting.

KeepPosition

Selected rows and cells are preserved like in Excel.

UpdatePosition

Selected rows and cells are updated with the sorting.

Used By

NameDescription

Returns or sets a value indicating how the DataGridView updates the selection of rows and cells when it's sorted.

Last updated