101 references to
PresentationUI (6)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (6)
147UpdateAllowOwner(Rows[rowIndex]); 154UpdateRowFromEveryone(Rows[_everyoneRowIndex], Rows[rowIndex]); 503DataGridViewDisableCheckBoxCell cell = Rows[e.RowIndex].Cells[e.ColumnIndex] as DataGridViewDisableCheckBoxCell; 626DataGridViewRow currentRow = Rows[rowIndex]; 786everyoneRow = Rows[_everyoneRowIndex];
System.Windows.Forms (85)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (5)
83return owner.Rows[actualRowIndex].AccessibilityObject; 166return owner.Rows[hti.RowIndex].Cells[hti.ColumnIndex].AccessibilityObject; 179return owner.Rows[hti.RowIndex].HeaderCell.AccessibilityObject; 281result[i] = owner.Rows[rowIndex].HeaderCell.AccessibilityObject; 323return owner.Rows[row].Cells[column].AccessibilityObject;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (10)
1715DataGridViewRow dataGridViewRow = Rows[_ptCurrentCell.Y]; // un-sharing row 1857return Rows[_ptCurrentCell.Y]; 2288return Rows[firstDisplayedCellAddress.Y].Cells[firstDisplayedCellAddress.X]; // un-shares the row of first displayed cell 2320if (!Rows[firstDisplayedCell.RowIndex].Frozen) 3666DataGridViewRow dataGridViewRow = Rows[rowIndex]; // un-shares the selected row 3728strc.Add(Rows[rowIndex]); // un-shares the selected row 4013DataGridViewRow row = Rows[rowIndex]; 4018DataGridViewRow row = Rows[rowIndex]; 4029DataGridViewRow row = Rows[rowIndex]; 4034DataGridViewRow 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)
79DataGridViewRowEventArgs dgvRowEvent = new(Rows[NewRowIndex]); 418Rows[rowIndex].Thickness = preferredThickness; // un-sharing the resized row 482Rows[rowIndex].Height = preferredHeight; // un-sharing the row to be resized 1409dataGridViewRow = Rows[rowIndex]; // un-shares this row 1448dataGridViewRow = Rows[rowIndex]; // un-shares this row 1483dataGridViewRow = Rows[rowIndex]; // un-shares this row 2313Rows[rowIndex].ThicknessInternal = preferredThickness; // un-sharing the resized row 2320Rows[rowIndex].ThicknessInternal = preferredThickness; // un-sharing the resized row 2324Rows[rowIndex].Thickness = preferredThickness; // un-sharing the resized row 5452DataGridViewRowCancelEventArgs dgvrce = new(Rows[NewRowIndex]); 5461DataGridViewRow dataGridViewRow = Rows[NewRowIndex]; 5476OnDefaultValuesNeeded(new DataGridViewRowEventArgs(Rows[NewRowIndex])); 6335dataGridViewRow = Rows[_trackRow]; // Un-sharing row 9694dataGridViewCell = 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]); 14664dataGridViewRow = Rows[index]; 14850Debug.Assert(!Rows[dataGridViewCell.RowIndex].ReadOnly); 15432_ = Rows[NewRowIndex]; 15683_ = Rows[_ptCurrentCell.Y]; 15742_ = Rows[_ptCurrentCell.Y]; 15776_ = Rows[_ptCurrentCell.Y]; 16058Debug.Assert(Rows[rowIndex].Resizable == DataGridViewTriState.True); 16861&& !Rows[_ptCurrentCell.Y].Cells[_ptCurrentCell.X].ReadOnly) // Un-shares the row 17241foreach (DataGridViewCell cell in Rows[rowIndexDeleted].Cells) 17668DataGridViewRowEventArgs dgvre = new(Rows[NewRowIndex]); 18642dataGridViewRow = Rows[rowIndex]; 19775newRow = Rows[NewRowIndex]; // un-share the 'new row'. 19952DataGridViewRowCancelEventArgs dgvrce = new(Rows[rowIndex]); 19956DataGridViewRow dataGridViewRow = Rows[rowIndex]; 25363dataGridViewCurrentCell = Rows[_ptCurrentCell.Y].Cells[_ptCurrentCell.X]; 25388dataGridViewCurrentCell = Rows[_ptCurrentCell.Y].Cells[_ptCurrentCell.X]; 26557_ = Rows[rowIndex]; 26829currentCell = Rows[oldCurrentCellY].Cells[oldCurrentCellX]; 26940currentCell = Rows[rowIndex].Cells[columnIndex]; 27042currentCell = Rows[oldCurrentCellY].Cells[oldCurrentCellX]; 27475DataGridViewCell dataGridViewCell = Rows[rowIndex].Cells[columnIndex]; 27499dataGridViewCellTmp = Rows[row].Cells[columnIndex]; 27506dataGridViewCellTmp = Rows[row].Cells[columnIndex]; 27517dataGridViewCellTmp = Rows[rowIndex].Cells[column]; 27524dataGridViewCellTmp = Rows[rowIndex].Cells[column]; 27625DataGridViewCell dataGridViewCell = Rows[rowIndex].Cells[columnIndex]; 27662dataGridViewCellTmp = Rows[row].Cells[columnIndex]; 27669dataGridViewCellTmp = Rows[row].Cells[columnIndex]; 27697dataGridViewCellTmp = Rows[rowIndex].Cells[column]; 27704dataGridViewCellTmp = 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)
475return _owner.DataGridView.Rows[previousVisibleRow].Cells[_owner.OwningColumn.Index].AccessibilityObject; 486return _owner.DataGridView.Rows[nextVisibleRow].Cells[_owner.OwningColumn.Index].AccessibilityObject;
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (4)
59get => this[index]; 103_ = this[rowIndex]; 2179if (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)
59return _dataGridViewRows[rowIndex]; // Un-sharing compared rows!
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.UnsharingRowEnumerator.cs (1)
66return _owner[_current];
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (1)
213DataGridViewRow row = Owner.DataGridView.Rows[Owner.DataGridView.Rows.GetFirstRow(DataGridViewElementStates.Visible)];
System.Windows.Forms.Tests (10)
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (4)
232for (int j = 0; j < dataGridView.Rows[i].Cells.Count; j++) 234AccessibleObject 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)
31accRowHeightSum += dataGridView.Rows[i].AccessibilityObject.BoundingRectangle.Height; 60accRowHeightSum += dataGridView.Rows[i].AccessibilityObject.BoundingRectangle.Height;
System\Windows\Forms\DataGridViewRowTests.cs (1)
2174DataGridViewRow 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)
150dataGridView.Rows[i].HeaderCell.Value = $"Row {i + 1}";