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)
1709
DataGridViewRow dataGridViewRow = Rows
[
_ptCurrentCell.Y]; // un-sharing row
1851
return Rows
[
_ptCurrentCell.Y];
2282
return Rows
[
firstDisplayedCellAddress.Y].Cells[firstDisplayedCellAddress.X]; // un-shares the row of first displayed cell
2314
if (!Rows
[
firstDisplayedCell.RowIndex].Frozen)
3660
DataGridViewRow dataGridViewRow = Rows
[
rowIndex]; // un-shares the selected row
3722
strc.Add(Rows
[
rowIndex]); // un-shares the selected row
4007
DataGridViewRow row = Rows
[
rowIndex];
4012
DataGridViewRow row = Rows
[
rowIndex];
4023
DataGridViewRow row = Rows
[
rowIndex];
4028
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
5455
DataGridViewRowCancelEventArgs dgvrce = new(Rows
[
NewRowIndex]);
5464
DataGridViewRow dataGridViewRow = Rows
[
NewRowIndex];
5479
OnDefaultValuesNeeded(new DataGridViewRowEventArgs(Rows
[
NewRowIndex]));
6338
dataGridViewRow = Rows
[
_trackRow]; // Un-sharing row
9697
dataGridViewCell = Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X]; // un-share the edited cell
10800
_ = Rows
[
NewRowIndex];
10945
_ = Rows
[
NewRowIndex];
11553
_ = Rows
[
e.RowIndex];
11637
_ = Rows
[
e.RowIndex];
11662
_ = Rows
[
e.RowIndex];
11707
_ = Rows
[
e.RowIndex];
11854
_ = Rows
[
e.RowIndex];
11875
_ = Rows
[
e.RowIndex];
11939
_ = Rows
[
e.RowIndex];
12620
_ = Rows
[
e.RowIndex];
12643
_ = Rows
[
e.RowIndex];
12663
_ = Rows
[
e.RowIndex];
12721
_ = Rows
[
e.RowIndex];
13219
_lstRows.Add(Rows
[
rowIndex]);
14667
dataGridViewRow = Rows
[
index];
14853
Debug.Assert(!Rows
[
dataGridViewCell.RowIndex].ReadOnly);
15435
_ = Rows
[
NewRowIndex];
15686
_ = Rows
[
_ptCurrentCell.Y];
15745
_ = Rows
[
_ptCurrentCell.Y];
15779
_ = Rows
[
_ptCurrentCell.Y];
16061
Debug.Assert(Rows
[
rowIndex].Resizable == DataGridViewTriState.True);
16864
&& !Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X].ReadOnly) // Un-shares the row
17244
foreach (DataGridViewCell cell in Rows
[
rowIndexDeleted].Cells)
17671
DataGridViewRowEventArgs dgvre = new(Rows
[
NewRowIndex]);
18645
dataGridViewRow = Rows
[
rowIndex];
19778
newRow = Rows
[
NewRowIndex]; // un-share the 'new row'.
19955
DataGridViewRowCancelEventArgs dgvrce = new(Rows
[
rowIndex]);
19959
DataGridViewRow dataGridViewRow = Rows
[
rowIndex];
25366
dataGridViewCurrentCell = Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X];
25391
dataGridViewCurrentCell = Rows
[
_ptCurrentCell.Y].Cells[_ptCurrentCell.X];
26560
_ = Rows
[
rowIndex];
26832
currentCell = Rows
[
oldCurrentCellY].Cells[oldCurrentCellX];
26943
currentCell = Rows
[
rowIndex].Cells[columnIndex];
27045
currentCell = Rows
[
oldCurrentCellY].Cells[oldCurrentCellX];
27478
DataGridViewCell dataGridViewCell = Rows
[
rowIndex].Cells[columnIndex];
27502
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
27509
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
27520
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
27527
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
27628
DataGridViewCell dataGridViewCell = Rows
[
rowIndex].Cells[columnIndex];
27665
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
27672
dataGridViewCellTmp = Rows
[
row].Cells[columnIndex];
27700
dataGridViewCellTmp = Rows
[
rowIndex].Cells[column];
27707
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}";