DataGridViewSortSelectionMode

Wisej.Web.DataGridViewSortSelectionMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

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

public enum DataGridViewSortSelectionMode : Enum

Fields

Name
Description

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

Name
Description

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

Last updated

Was this helpful?