Skip to main content
Version: 3.5

DataGridViewSortCompareEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the SortCompare event.

public class DataGridViewSortCompareEventArgs : HandledEventArgs

Constructors​

Instance memberDataGridViewSortCompareEventArgs(column, cellValue1, cellValue2, rowIndex1, rowIndex2)​

Initializes a new instance of the DataGridViewSortCompareEventArgs class.

NameTypeDescription
columnDataGridViewColumnThe column to sort.
cellValue1ObjectThe value of the first cell to compare.
cellValue2ObjectThe value of the second cell to compare.
rowIndex1Int32The index of the row containing the first cell.
rowIndex2Int32The index of the row containing the second cell.

Properties​

Instance memberCellValue1​

Object: Returns the value of the first cell to compare.

Instance memberCellValue2​

Object: Returns the value of the second cell to compare.

Instance memberColumn​

DataGridViewColumn: Returns the column being sorted.

Instance memberRowIndex1​

Int32: Returns the index of the row containing the first cell to compare.

Instance memberRowIndex2​

Int32: Returns the index of the row containing the second cell to compare.

Instance memberSortResult​

Int32: Returns or sets a value indicating the order in which the compared cells will be sorted.

Used By​

NameDescription
DataGridViewSortCompareEventHandlerRepresents the method that will handle the SortCompare event of a DataGridView control.