DataGridViewSortCompareEventArgs Constructor (DataGridViewColumn^, Object^, Object^, Int32, Int32)
.NET Framework (current version)
Initializes a new instance of the DataGridViewSortCompareEventArgs class.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: DataGridViewSortCompareEventArgs( DataGridViewColumn^ dataGridViewColumn, Object^ cellValue1, Object^ cellValue2, int rowIndex1, int rowIndex2 )
Parameters
- dataGridViewColumn
-
Type:
System.Windows.Forms::DataGridViewColumn^
The column to sort.
- cellValue1
-
Type:
System::Object^
The value of the first cell to compare.
- cellValue2
-
Type:
System::Object^
The value of the second cell to compare.
- rowIndex1
-
Type:
System::Int32
The index of the row containing the first cell.
- rowIndex2
-
Type:
System::Int32
The index of the row containing the second cell.
.NET Framework
Available since 2.0
Available since 2.0
Show: