DataGridViewSortSelectionMode
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Defines values for specifying how the DataGridView updates the selection when it is sorted.
- C#
- VB.NET
public enum DataGridViewSortSelectionMode
Public Enum DataGridViewSortSelectionMode
Fields
| Name | Description | Value |
|---|---|---|
| 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. |