101 references to
PresentationUI (6)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (6)
147
UpdateAllowOwner(Rows
[
rowIndex]);
154
UpdateRowFromEveryone(Rows
[
_everyoneRowIndex], Rows
[
rowIndex]);
503
DataGridViewDisableCheckBoxCell cell = Rows
[
e.RowIndex].Cells[e.ColumnIndex] as DataGridViewDisableCheckBoxCell;
626
DataGridViewRow currentRow = Rows
[
rowIndex];
786
everyoneRow = Rows
[
_everyoneRowIndex];
System.Windows.Forms (85)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (5)
83
return owner.Rows
[
actualRowIndex].AccessibilityObject;
166
return owner.Rows
[
hti.RowIndex].Cells[hti.ColumnIndex].AccessibilityObject;
179
return owner.Rows
[
hti.RowIndex].HeaderCell.AccessibilityObject;
281
result[i] = owner.Rows
[
rowIndex].HeaderCell.AccessibilityObject;
323
return owner.Rows
[
row].Cells[column].AccessibilityObject;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (10)
1715
DataGridViewRow dataGridViewRow = Rows
[
_ptCurrentCell.Y]; // un-sharing row
1857
return Rows
[
_ptCurrentCell.Y];
2288
return Rows
[
firstDisplayedCellAddress.Y].Cells[firstDisplayedCellAddress.X]; // un-shares the row of first displayed cell
2320
if (!Rows
[
firstDisplayedCell.RowIndex].Frozen)
3666
DataGridViewRow dataGridViewRow = Rows
[
rowIndex]; // un-shares the selected row
3728
strc.Add(Rows
[
rowIndex]); // un-shares the selected row
4013
DataGridViewRow row = Rows
[
rowIndex];
4018
DataGridViewRow row = Rows
[
rowIndex];
4029
DataGridViewRow row = Rows
[
rowIndex];
4034
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)
79
DataGridViewRowEventArgs dgvRowEvent = new(Rows
[
NewRowIndex]);
418
Rows
[
rowIndex].Thickness = preferredThickness; // un-sharing the resized row
482
Rows
[
rowIndex].Height = preferredHeight; // un-sharing the row to be resized
1409
dataGridViewRow = Rows
[
rowIndex]; // un-shares this row
1448
dataGridViewRow = Rows
[
rowIndex]; // un-shares this row
1483
dataGridViewRow = Rows
[
rowIndex]; // un-shares this row
2313
Rows
[
rowIndex].ThicknessInternal = preferredThickness; // un-sharing the resized row
2320
Rows
[
rowIndex].ThicknessInternal = preferredThickness; // un-sharing the resized row
2324
Rows
[
rowIndex].Thickness = preferredThickness; // un-sharing the resized row
5452
DataGridViewRowCancelEventArgs dgvrce = new(Rows
[
NewRowIndex]);
5461
DataGridViewRow dataGridViewRow = Rows
[
NewRowIndex];
5476
OnDefaultValuesNeeded(new DataGridViewRowEventArgs(Rows
[
NewRowIndex]));
6335
dataGridViewRow = Rows
[
_trackRow]; // Un-sharing row
9694
dataGridViewCell = Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X]; // un-share the edited cell
10797
_ = Rows
[
NewRowIndex];
10942
_ = Rows
[
NewRowIndex];
11550
_ = Rows
[
e.RowIndex];
11634
_ = Rows
[
e.RowIndex];
11659
_ = Rows
[
e.RowIndex];
11704
_ = Rows
[
e.RowIndex];
11851
_ = Rows
[
e.RowIndex];
11872
_ = Rows
[
e.RowIndex];
11936
_ = Rows
[
e.RowIndex];
12617
_ = Rows
[
e.RowIndex];
12640
_ = Rows
[
e.RowIndex];
12660
_ = Rows
[
e.RowIndex];
12718
_ = Rows
[
e.RowIndex];
13216
_lstRows.Add(Rows
[
rowIndex]);
14664
dataGridViewRow = Rows
[
index];
14850
Debug.Assert(!Rows
[
dataGridViewCell.RowIndex].ReadOnly);
15432
_ = Rows
[
NewRowIndex];
15683
_ = Rows
[
_ptCurrentCell.Y];
15742
_ = Rows
[
_ptCurrentCell.Y];
15776
_ = Rows
[
_ptCurrentCell.Y];
16058
Debug.Assert(Rows
[
rowIndex].Resizable == DataGridViewTriState.True);
16861
&& !Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X].ReadOnly) // Un-shares the row
17241
foreach (DataGridViewCell cell in Rows
[
rowIndexDeleted].Cells)
17668
DataGridViewRowEventArgs dgvre = new(Rows
[
NewRowIndex]);
18642
dataGridViewRow = Rows
[
rowIndex];
19775
newRow = Rows
[
NewRowIndex]; // un-share the 'new row'.
19952
DataGridViewRowCancelEventArgs dgvrce = new(Rows
[
rowIndex]);
19956
DataGridViewRow dataGridViewRow = Rows
[
rowIndex];
25363
dataGridViewCurrentCell = Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X];
25388
dataGridViewCurrentCell = Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X];
26557
_ = Rows
[
rowIndex];
26829
currentCell = Rows
[
oldCurrentCellY].Cells[oldCurrentCellX];
26940
currentCell = Rows
[
rowIndex].Cells[columnIndex];
27042
currentCell = Rows
[
oldCurrentCellY].Cells[oldCurrentCellX];
27475
DataGridViewCell dataGridViewCell = Rows
[
rowIndex].Cells[columnIndex];
27499
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
27506
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
27517
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
27524
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
27625
DataGridViewCell dataGridViewCell = Rows
[
rowIndex].Cells[columnIndex];
27662
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
27669
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
27697
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
27704
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
321
|| string.IsNullOrEmpty(DataGridView.Rows
[
i].Cells[j].Value?.ToString()))
326
_nonEmptyNeighbors.Add(DataGridView.Rows
[
i].Cells[j].AccessibilityObject.Bounds);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (2)
475
return _owner.DataGridView.Rows
[
previousVisibleRow].Cells[_owner.OwningColumn.Index].AccessibilityObject;
486
return _owner.DataGridView.Rows
[
nextVisibleRow].Cells[_owner.OwningColumn.Index].AccessibilityObject;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (4)
59
get => this
[
index];
103
_ = this
[
rowIndex];
2179
if (DataGridView.IsAccessibilityObjectCreated && OsVersion.IsWindows8OrGreater() && this
[
index] is DataGridViewRow row)
2219
_ = 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)
232
for (int j = 0; j < dataGridView.Rows
[
i].Cells.Count; j++)
234
AccessibleObject expected = dataGridView.Rows
[
i].Cells[j].AccessibilityObject;
1322
: dataGridView.Rows
[
i + 1].Cells[j + 1].AccessibilityObject;
1396
: dataGridView.Rows
[
i].Cells[j].AccessibilityObject;
System\Windows\Forms\AccessibleObjects\DataGridViewRowsAccessibleObjectTests.cs (2)
31
accRowHeightSum += dataGridView.Rows
[
i].AccessibilityObject.BoundingRectangle.Height;
60
accRowHeightSum += dataGridView.Rows
[
i].AccessibilityObject.BoundingRectangle.Height;
System\Windows\Forms\DataGridViewRowTests.cs (1)
2174
DataGridViewRow row = control.Rows
[
index];
System\Windows\Forms\DataGridViewTests.cs (2)
4066
_dataGridView.CurrentCell = _dataGridView.Rows
[
_dataGridView.NewRowIndex].Cells[0];
4070
_dataGridView.CurrentCell = _dataGridView.Rows
[
_dataGridView.NewRowIndex].Cells[1];
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
150
dataGridView.Rows
[
i].HeaderCell.Value = $"Row {i + 1}";