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.
- C#
- VB.NET
public enum DataGridViewSortSelectionMode : Enum
Public Enum DataGridViewSortSelectionMode As [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 |
|---|---|
| DataGridView.SortSelectionMode | Returns or sets a value indicating how the DataGridView updates the selection of rows and cells when it's sorted. |