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