DataGridViewSortCompareEventArgs::CellValue1 Property
.NET Framework (current version)
Gets the value of the first cell to compare.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
This property is typically used in conjunction with the CellValue2 property.
The following code example demonstrates the use of CellValue1 in a multiple column sort. This example is part of a larger example provided in How to: Customize Sorting in the Windows Forms DataGridView Control.
.NET Framework
Available since 2.0
Available since 2.0
Show: