DataGridViewSortCompareEventArgs Konstruktor

Definice

Inicializuje novou instanci DataGridViewSortCompareEventArgs třídy.

public:
 DataGridViewSortCompareEventArgs(System::Windows::Forms::DataGridViewColumn ^ dataGridViewColumn, System::Object ^ cellValue1, System::Object ^ cellValue2, int rowIndex1, int rowIndex2);
public DataGridViewSortCompareEventArgs (System.Windows.Forms.DataGridViewColumn dataGridViewColumn, object cellValue1, object cellValue2, int rowIndex1, int rowIndex2);
new System.Windows.Forms.DataGridViewSortCompareEventArgs : System.Windows.Forms.DataGridViewColumn * obj * obj * int * int -> System.Windows.Forms.DataGridViewSortCompareEventArgs
Public Sub New (dataGridViewColumn As DataGridViewColumn, cellValue1 As Object, cellValue2 As Object, rowIndex1 As Integer, rowIndex2 As Integer)

Parametry

dataGridViewColumn
DataGridViewColumn

Sloupec, který chcete seřadit.

cellValue1
Object

Hodnota první buňky, kterou chcete porovnat.

cellValue2
Object

Hodnota druhé buňky, kterou chcete porovnat.

rowIndex1
Int32

Index řádku obsahujícího první buňku

rowIndex2
Int32

Index řádku obsahujícího druhou buňku.

Platí pro

Viz také