DataGridViewSortCompareEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DataGridViewSortCompareEventArgs class.
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);
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)
Parameters
- dataGridViewColumn
- 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.
Applies to
See also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro