3 writes to
System.Windows.Forms (3)
winforms\Managed\System\WinForms\DataGridView.cs (1)
5096row.Cells[columnIndex] = value;
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (2)
100set { this[index] = (DataGridViewCell) value; } 242this[dataGridViewColumn.Index] = value;
131 references to
System.Windows.Forms (116)
winforms\Managed\System\WinForms\DataGridView.cs (5)
2188return dataGridViewRow.Cells[this.ptCurrentCell.X]; 2253DataGridViewCell dataGridViewCell = dataGridViewRow.Cells[this.ptCurrentCell.X]; 2909return this.Rows[firstDisplayedCellAddress.Y].Cells[firstDisplayedCellAddress.X]; // unshares the row of first displayed cell 4634stcc.Add(dataGridViewRow.Cells[columnIndex]); 5091return row.Cells[columnIndex];
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (2)
202return this.owner.Rows[hti.RowIndex].Cells[hti.ColumnIndex].AccessibilityObject; 398return this.owner.Rows[row].Cells[column].AccessibilityObject;
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (3)
104DataGridViewButtonCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewButtonCell; 146DataGridViewButtonCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewButtonCell; 188DataGridViewButtonCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewButtonCell;
winforms\Managed\System\WinForms\DataGridViewCell.cs (4)
5286return this.owner.DataGridView.Rows[previousVisibleRow].Cells[this.owner.OwningColumn.Index].AccessibilityObject; 5296return this.owner.DataGridView.Rows[nextVisibleRow].Cells[this.owner.OwningColumn.Index].AccessibilityObject; 5338return this.owner.OwningRow.Cells[previousVisibleColumnIndex].AccessibilityObject; 5380return this.owner.OwningRow.Cells[nextVisibleColumnIndex].AccessibilityObject;
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (1)
99get { return this[index]; }
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (5)
122DataGridViewCheckBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewCheckBoxCell; 162DataGridViewCheckBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewCheckBoxCell; 203DataGridViewCheckBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewCheckBoxCell; 246DataGridViewCheckBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewCheckBoxCell; 300DataGridViewCheckBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewCheckBoxCell;
winforms\Managed\System\WinForms\DataGridViewColumn.cs (6)
1269preferredCellThickness = dataGridViewRow.Cells[this.Index].GetPreferredWidth(rowIndex, dataGridViewRow.Thickness); 1273preferredCellThickness = dataGridViewRow.Cells[this.Index].GetPreferredSize(rowIndex).Width; 1292preferredCellThickness = dataGridViewRow.Cells[this.Index].GetPreferredWidth(rowIndex, dataGridViewRow.Thickness); 1296preferredCellThickness = dataGridViewRow.Cells[this.Index].GetPreferredSize(rowIndex).Width; 1315preferredCellThickness = dataGridViewRow.Cells[this.Index].GetPreferredWidth(rowIndex, dataGridViewRow.Thickness); 1319preferredCellThickness = dataGridViewRow.Cells[this.Index].GetPreferredSize(rowIndex).Width;
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (11)
61DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell; 138DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell; 181DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell; 222DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell; 264DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell; 304DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell; 343DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell; 406DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell; 445DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell; 484DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell; 531DataGridViewComboBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewComboBoxCell;
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (3)
121DataGridViewImageCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewImageCell; 215DataGridViewImageCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewImageCell; 254DataGridViewImageCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewImageCell;
winforms\Managed\System\WinForms\DataGridViewLinkColumn.cs (7)
56DataGridViewLinkCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewLinkCell; 127DataGridViewLinkCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewLinkCell; 166DataGridViewLinkCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewLinkCell; 218DataGridViewLinkCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewLinkCell; 260DataGridViewLinkCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewLinkCell; 300DataGridViewLinkCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewLinkCell; 339DataGridViewLinkCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewLinkCell;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (57)
332int preferredThickness = dataGridViewRow.Cells[dataGridViewColumn.Index].GetPreferredWidth(rowIndex, dataGridViewRow.GetHeight(rowIndex)); 389dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 467dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 1403if (!dataGridViewRow.Cells[dataGridViewColumn.Index].Selected) 1435if (!dataGridViewRow.Cells[dataGridViewColumn.Index].Selected) 1470if (!dataGridViewRow.Cells[dataGridViewColumn.Index].Selected) 6976DataGridViewCell dataGridViewCell = dataGridViewRow.Cells[columnIndex]; 7189return dataGridViewRow.Cells[columnIndex]; 7384cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7398cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7449cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7463cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7656cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7670cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7721cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7735cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 8122cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 8182cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 9854dataGridViewCell = this.Rows[this.ptCurrentCell.Y].Cells[this.ptCurrentCell.X]; // unshare the edited cell 11163DataGridViewCell dataGridViewCell = dataGridViewRow.Cells[columnIndex]; 12023dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 12156dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 12501IsSharedCellSelected(this.Rows.SharedRow(hti.row).Cells[hti.col], hti.row) && 12633(this.Columns[hti.col].Selected || IsSharedCellSelected(this.Rows.SharedRow(hti.row).Cells[hti.col], hti.row)) && 12813IsSharedCellSelected(this.Rows.SharedRow(hti.row).Cells[hti.col], hti.row)) && 13453dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 13505dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 17317!this.Rows[this.ptCurrentCell.Y].Cells[this.ptCurrentCell.X].ReadOnly) // Unshares the row 17817DataGridViewCell dataGridViewCell = dataGridViewRow.Cells[columnIndex]; 17858DataGridViewCell dataGridViewCell = dataGridViewRow.Cells[columnIndex]; 18188dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 18836dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 19272dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 19319dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 25528dataGridViewCurrentCell = this.Rows[this.ptCurrentCell.Y].Cells[this.ptCurrentCell.X]; // unsharing the row before pushing the new value 25549dataGridViewCurrentCell = this.Rows[this.ptCurrentCell.Y].Cells[this.ptCurrentCell.X]; // unsharing the row before pushing the new value 26759return this.Rows.SharedRow(index).Cells[columnIndex]; 26784return this.Rows.SharedRow(rowIndex).Cells[index]; 26845!IsSharedCellVisible(this.Rows.SharedRow(rowIndex).Cells[columnIndex], rowIndex)) 26906currentCell = this.Rows.SharedRow(oldCurrentCellY).Cells[oldCurrentCellX]; 26909currentCell = this.Rows[oldCurrentCellY].Cells[oldCurrentCellX]; // unsharing the current row 27016currentCell = this.Rows[rowIndex].Cells[columnIndex]; // unsharing the row 27104currentCell = this.Rows.SharedRow(oldCurrentCellY).Cells[oldCurrentCellX]; 27107currentCell = this.Rows[oldCurrentCellY].Cells[oldCurrentCellX]; // unsharing the current row 27493if (IsSharedCellReadOnly(dataGridViewRow.Cells[columnIndex], rowIndex) != readOnly) 27495DataGridViewCell dataGridViewCell = this.Rows[rowIndex].Cells[columnIndex]; 27520dataGridViewCellTmp = this.Rows[row].Cells[columnIndex]; 27526dataGridViewCellTmp = this.Rows[row].Cells[columnIndex]; 27536dataGridViewCellTmp = this.Rows[rowIndex].Cells[column]; 27542dataGridViewCellTmp = this.Rows[rowIndex].Cells[column]; 27646if (IsSharedCellSelected(dataGridViewRow.Cells[columnIndex], rowIndex) != selected) 27648DataGridViewCell dataGridViewCell = this.Rows[rowIndex].Cells[columnIndex]; 27684dataGridViewCellTmp = this.Rows[row].Cells[columnIndex]; 27690dataGridViewCellTmp = this.Rows[row].Cells[columnIndex]; 27717dataGridViewCellTmp = this.Rows[rowIndex].Cells[column]; 27723dataGridViewCellTmp = this.Rows[rowIndex].Cells[column]; 29872dataGridViewCell = this.Rows.SharedRow(hti.row).Cells[hti.col];
winforms\Managed\System\WinForms\DataGridViewRow.cs (8)
1159DataGridViewCell dataGridViewCell = rowTemplate.Cells[i]; 1618cell = this.Cells[dataGridViewColumn.Index]; 1705cell = this.Cells[dataGridViewColumn.Index]; 1883if (!cells[columnIndex].SetValueInternal(this.Index, values[columnIndex])) 2097if (!this.owner.Cells[i].Selected) 2184return this.owner.Cells[columnIndex].AccessibilityObject; 2331dataGridView.CurrentCell = this.owner.Cells[dataGridView.CurrentCell.OwningColumn.Index]; // Do not change old selection 2338dataGridView.CurrentCell = this.owner.Cells[firstVisibleCell]; // Do not change old selection
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (3)
2507DataGridViewCell dataGridViewCell1 = dataGridViewRow1.Cells[columnIndex]; 2508DataGridViewCell dataGridViewCell2 = dataGridViewRow2.Cells[columnIndex]; 2815return dataGridViewRow.Cells[this.sortedColumnIndex].GetValueInternal(rowIndex);
winforms\Managed\System\WinForms\DataGridViewTextBoxColumn.cs (1)
77DataGridViewTextBoxCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewTextBoxCell;
System.WorkflowServices (15)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (15)
167this.parametersGrid.CurrentCell = this.parametersGrid.Rows[this.parametersGrid.Rows.Count - 2].Cells[this.nameColumn.Index]; 224DataGridViewCell currentCell = this.parametersGrid.Rows[combo.EditingControlRowIndex].Cells[this.typeColumn.Index]; 298this.parametersGrid.CurrentCell = currentRow.Cells[this.nameColumn.Index]; 313this.parametersGrid.CurrentCell = currentRow.Cells[this.nameColumn.Index]; 372if (typeof(void).ToString().Equals(e.FormattedValue) && !(this.parametersGrid.Rows[e.RowIndex].Cells[this.nameColumn.Index].Value.Equals(SR2.GetString(SR2.ReturnValueString)))) 413if (!this.parametersGrid.Rows[this.parametersGrid.RowCount - 1].Cells[this.nameColumn.Index].Value.Equals(this.ParameterTemplateRowName)) 416editedRow.Cells[this.typeColumn.Index].Value = typeof(string); 417editedRow.Cells[this.directionColumn.Index].Value = SR2.GetString(SR2.ParameterDirectionIn); 423DataGridViewCell currentCell = this.parametersGrid.Rows[e.RowIndex].Cells[e.ColumnIndex]; 533returnValueRow.Cells[this.nameColumn.Index].ReadOnly = true; 534returnValueRow.Cells[this.directionColumn.Index].ReadOnly = true; 704string name = row.Cells[this.nameColumn.Index].Value as string; 705object typeCell = row.Cells[this.typeColumn.Index].Value; 706string direction = row.Cells[this.directionColumn.Index].Value as string; 767if (parameterName.Equals(row.Cells[this.nameColumn.Index].Value.ToString()))