DataGridView::Item Property (String^, Int32)
.NET Framework (current version)
Provides an indexer to get or set the cell located at the intersection of the row with the specified index and the column with the specified name.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property DataGridViewCell^ default[ String^ columnName, int rowIndex ] { DataGridViewCell^ get(String^ columnName, int rowIndex); void set(String^ columnName, int rowIndex, DataGridViewCell^ value); }
Parameters
- columnName
-
Type:
System::String^
The name of the column containing the cell.
- rowIndex
-
Type:
System::Int32
The index of the row containing the cell.
Property Value
Type: System.Windows.Forms::DataGridViewCell^The DataGridViewCell at the specified location.
.NET Framework
Available since 2.0
Available since 2.0
Show: