DataGridViewSortCompareEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the SortCompare event.
- C#
- VB.NET
public class DataGridViewSortCompareEventArgs : HandledEventArgs
Public Class DataGridViewSortCompareEventArgs
Inherits HandledEventArgs
Constructors
DataGridViewSortCompareEventArgs(column, cellValue1, cellValue2, rowIndex1, rowIndex2)
Initializes a new instance of the DataGridViewSortCompareEventArgs class.
| Name | Type | Description |
|---|---|---|
| column | DataGridViewColumn | The column to sort. |
| cellValue1 | Object | The value of the first cell to compare. |
| cellValue2 | Object | The value of the second cell to compare. |
| rowIndex1 | Int32 | The index of the row containing the first cell. |
| rowIndex2 | Int32 | The index of the row containing the second cell. |
Properties
CellValue1
Object: Returns the value of the first cell to compare.
CellValue2
Object: Returns the value of the second cell to compare.
Column
DataGridViewColumn: Returns the column being sorted.
RowIndex1
Int32: Returns the index of the row containing the first cell to compare.
RowIndex2
Int32: Returns the index of the row containing the second cell to compare.
SortResult
Int32: Returns or sets a value indicating the order in which the compared cells will be sorted.
Used By
| Name | Description |
|---|---|
| DataGridViewSortCompareEventHandler | Represents the method that will handle the SortCompare event of a DataGridView control. |