101 references to
PresentationUI (6)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (6)
150
UpdateAllowOwner(Rows
[
rowIndex]);
157
UpdateRowFromEveryone(Rows
[
_everyoneRowIndex], Rows
[
rowIndex]);
499
DataGridViewDisableCheckBoxCell cell = Rows
[
e.RowIndex].Cells[e.ColumnIndex] as DataGridViewDisableCheckBoxCell;
622
DataGridViewRow currentRow = Rows
[
rowIndex];
782
everyoneRow = Rows
[
_everyoneRowIndex];
System.Windows.Forms (85)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (5)
84
return owner.Rows
[
actualRowIndex].AccessibilityObject;
167
return owner.Rows
[
hti.RowIndex].Cells[hti.ColumnIndex].AccessibilityObject;
180
return owner.Rows
[
hti.RowIndex].HeaderCell.AccessibilityObject;
282
result[i] = owner.Rows
[
rowIndex].HeaderCell.AccessibilityObject;
324
return owner.Rows
[
row].Cells[column].AccessibilityObject;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (10)
1709
DataGridViewRow dataGridViewRow = Rows
[
_ptCurrentCell.Y]; // un-sharing row
1851
return Rows
[
_ptCurrentCell.Y];
2281
return Rows
[
firstDisplayedCellAddress.Y].Cells[firstDisplayedCellAddress.X]; // un-shares the row of first displayed cell
2313
if (!Rows
[
firstDisplayedCell.RowIndex].Frozen)
3661
DataGridViewRow dataGridViewRow = Rows
[
rowIndex]; // un-shares the selected row
3723
strc.Add(Rows
[
rowIndex]); // un-shares the selected row
4008
DataGridViewRow row = Rows
[
rowIndex];
4013
DataGridViewRow row = Rows
[
rowIndex];
4024
DataGridViewRow row = Rows
[
rowIndex];
4029
DataGridViewRow row = Rows
[
rowIndex];
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (1)
1258
_owner.Rows
[
rowIndex].Visible = true;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (58)
80
DataGridViewRowEventArgs dgvRowEvent = new(Rows
[
NewRowIndex]);
443
Rows
[
rowIndex].Thickness = preferredThickness; // un-sharing the resized row
510
Rows
[
rowIndex].Height = preferredHeight; // un-sharing the row to be resized
1443
dataGridViewRow = Rows
[
rowIndex]; // un-shares this row
1482
dataGridViewRow = Rows
[
rowIndex]; // un-shares this row
1517
dataGridViewRow = Rows
[
rowIndex]; // un-shares this row
2415
Rows
[
rowIndex].ThicknessInternal = preferredThickness; // un-sharing the resized row
2422
Rows
[
rowIndex].ThicknessInternal = preferredThickness; // un-sharing the resized row
2426
Rows
[
rowIndex].Thickness = preferredThickness; // un-sharing the resized row
5610
DataGridViewRowCancelEventArgs dgvrce = new(Rows
[
NewRowIndex]);
5619
DataGridViewRow dataGridViewRow = Rows
[
NewRowIndex];
5634
OnDefaultValuesNeeded(new DataGridViewRowEventArgs(Rows
[
NewRowIndex]));
6514
dataGridViewRow = Rows
[
_trackRow]; // Un-sharing row
10096
dataGridViewCell = Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X]; // un-share the edited cell
11220
DataGridViewRow newRow = Rows
[
NewRowIndex];
11364
DataGridViewRow newRow = Rows
[
NewRowIndex];
11971
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
12054
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
12078
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
12122
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
12268
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
12288
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
12351
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
13031
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
13053
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
13072
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
13129
DataGridViewRow dataGridViewRow = Rows
[
e.RowIndex];
13627
_lstRows.Add(Rows
[
rowIndex]);
15074
dataGridViewRow = Rows
[
index];
15260
Debug.Assert(!Rows
[
dataGridViewCell.RowIndex].ReadOnly);
15841
DataGridViewRow newRow = Rows
[
NewRowIndex];
16091
DataGridViewRow dataGridViewRow = Rows
[
_ptCurrentCell.Y];
16149
DataGridViewRow dataGridViewRow = Rows
[
_ptCurrentCell.Y];
16182
DataGridViewRow dataGridViewRow = Rows
[
_ptCurrentCell.Y];
16464
Debug.Assert(Rows
[
rowIndex].Resizable == DataGridViewTriState.True);
17270
&& !Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X].ReadOnly) // Un-shares the row
17663
foreach (DataGridViewCell cell in Rows
[
rowIndexDeleted].Cells)
18104
DataGridViewRowEventArgs dgvre = new(Rows
[
NewRowIndex]);
19078
dataGridViewRow = Rows
[
rowIndex];
20225
newRow = Rows
[
NewRowIndex]; // un-share the 'new row'.
20402
DataGridViewRowCancelEventArgs dgvrce = new(Rows
[
rowIndex]);
20406
DataGridViewRow dataGridViewRow = Rows
[
rowIndex];
25840
dataGridViewCurrentCell = Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X];
25865
dataGridViewCurrentCell = Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X];
27040
dataGridViewRow = Rows
[
rowIndex];
27312
currentCell = Rows
[
oldCurrentCellY].Cells[oldCurrentCellX];
27423
currentCell = Rows
[
rowIndex].Cells[columnIndex];
27524
currentCell = Rows
[
oldCurrentCellY].Cells[oldCurrentCellX];
27957
DataGridViewCell dataGridViewCell = Rows
[
rowIndex].Cells[columnIndex];
27981
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
27988
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
27999
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
28006
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
28107
DataGridViewCell dataGridViewCell = Rows
[
rowIndex].Cells[columnIndex];
28144
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
28151
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
28179
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
28186
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
333
|| string.IsNullOrEmpty(DataGridView.Rows
[
i].Cells[j].Value?.ToString()))
338
_nonEmptyNeighbors.Add(DataGridView.Rows
[
i].Cells[j].AccessibilityObject.Bounds);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (2)
476
return _owner.DataGridView.Rows
[
previousVisibleRow].Cells[_owner.OwningColumn.Index].AccessibilityObject;
487
return _owner.DataGridView.Rows
[
nextVisibleRow].Cells[_owner.OwningColumn.Index].AccessibilityObject;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (4)
60
get => this
[
index];
103
DataGridViewRow dataGridViewRow = this
[
rowIndex];
2179
if (DataGridView.IsAccessibilityObjectCreated && OsVersion.IsWindows8OrGreater() && this
[
index] is DataGridViewRow row)
2220
dataGridViewRow = this
[
index]; // need to un-share row because dev is listening to OnCollectionChanged event or the row is displayed
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.RowComparer.cs (1)
59
return _dataGridViewRows
[
rowIndex]; // Un-sharing compared rows!
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.UnsharingRowEnumerator.cs (1)
66
return _owner
[
_current];
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (1)
213
DataGridViewRow row = Owner.DataGridView.Rows
[
Owner.DataGridView.Rows.GetFirstRow(DataGridViewElementStates.Visible)];
System.Windows.Forms.Tests (10)
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (4)
230
for (int j = 0; j < dataGridView.Rows
[
i].Cells.Count; j++)
232
AccessibleObject expected = dataGridView.Rows
[
i].Cells[j].AccessibilityObject;
1320
: dataGridView.Rows
[
i + 1].Cells[j + 1].AccessibilityObject;
1394
: dataGridView.Rows
[
i].Cells[j].AccessibilityObject;
System\Windows\Forms\AccessibleObjects\DataGridViewRowsAccessibleObjectTests.cs (2)
29
accRowHeightSum += dataGridView.Rows
[
i].AccessibilityObject.BoundingRectangle.Height;
58
accRowHeightSum += dataGridView.Rows
[
i].AccessibilityObject.BoundingRectangle.Height;
System\Windows\Forms\DataGridViewRowTests.cs (1)
2173
DataGridViewRow row = control.Rows
[
index];
System\Windows\Forms\DataGridViewTests.cs (2)
4065
_dataGridView.CurrentCell = _dataGridView.Rows
[
_dataGridView.NewRowIndex].Cells[0];
4069
_dataGridView.CurrentCell = _dataGridView.Rows
[
_dataGridView.NewRowIndex].Cells[1];
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
148
dataGridView.Rows
[
i].HeaderCell.Value = $"Row {i + 1}";