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