DataGridViewSelectedCellCollection::Contains Method (DataGridViewCell^)
.NET Framework (current version)
Determines whether the specified cell is contained in the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- dataGridViewCell
-
Type:
System.Windows.Forms::DataGridViewCell^
The DataGridViewCell to locate in the DataGridViewSelectedCellCollection.
Return Value
Type: System::Booleantrue if dataGridViewCell is in the DataGridViewSelectedCellCollection; otherwise, false.
.NET Framework
Available since 2.0
Available since 2.0
Show: