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