91 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)
1720DataGridViewRow dataGridViewRow = Rows[_ptCurrentCell.Y]; // un-sharing row 1862return Rows[_ptCurrentCell.Y]; 2293return Rows[firstDisplayedCellAddress.Y].Cells[firstDisplayedCellAddress.X]; // un-shares the row of first displayed cell 2325if (!Rows[firstDisplayedCell.RowIndex].Frozen) 3671DataGridViewRow dataGridViewRow = Rows[rowIndex]; // un-shares the selected row 3733strc.Add(Rows[rowIndex]); // un-shares the selected row 4018DataGridViewRow row = Rows[rowIndex]; 4023DataGridViewRow row = Rows[rowIndex]; 4034DataGridViewRow row = Rows[rowIndex]; 4039DataGridViewRow 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)
124DataGridViewRowEventArgs dgvRowEvent = new(Rows[NewRowIndex]); 463Rows[rowIndex].Thickness = preferredThickness; // un-sharing the resized row 527Rows[rowIndex].Height = preferredHeight; // un-sharing the row to be resized 1454dataGridViewRow = Rows[rowIndex]; // un-shares this row 1493dataGridViewRow = Rows[rowIndex]; // un-shares this row 1528dataGridViewRow = Rows[rowIndex]; // un-shares this row 2358Rows[rowIndex].ThicknessInternal = preferredThickness; // un-sharing the resized row 2365Rows[rowIndex].ThicknessInternal = preferredThickness; // un-sharing the resized row 2369Rows[rowIndex].Thickness = preferredThickness; // un-sharing the resized row 5511DataGridViewRowCancelEventArgs dgvrce = new(Rows[NewRowIndex]); 5520DataGridViewRow dataGridViewRow = Rows[NewRowIndex]; 5535OnDefaultValuesNeeded(new DataGridViewRowEventArgs(Rows[NewRowIndex])); 6394dataGridViewRow = Rows[_trackRow]; // Un-sharing row 9753dataGridViewCell = Rows[_ptCurrentCell.Y].Cells[_ptCurrentCell.X]; // un-share the edited cell 10856_ = Rows[NewRowIndex]; 11001_ = Rows[NewRowIndex]; 11609_ = Rows[e.RowIndex]; 11693_ = Rows[e.RowIndex]; 11718_ = Rows[e.RowIndex]; 11763_ = Rows[e.RowIndex]; 11910_ = Rows[e.RowIndex]; 11931_ = Rows[e.RowIndex]; 11995_ = Rows[e.RowIndex]; 12676_ = Rows[e.RowIndex]; 12699_ = Rows[e.RowIndex]; 12719_ = Rows[e.RowIndex]; 12777_ = Rows[e.RowIndex]; 13275_lstRows.Add(Rows[rowIndex]); 14723dataGridViewRow = Rows[index]; 14909Debug.Assert(!Rows[dataGridViewCell.RowIndex].ReadOnly); 15497_ = Rows[NewRowIndex]; 15748_ = Rows[_ptCurrentCell.Y]; 15807_ = Rows[_ptCurrentCell.Y]; 15841_ = Rows[_ptCurrentCell.Y]; 16123Debug.Assert(Rows[rowIndex].Resizable == DataGridViewTriState.True); 16926&& !Rows[_ptCurrentCell.Y].Cells[_ptCurrentCell.X].ReadOnly) // Un-shares the row 17306foreach (DataGridViewCell cell in Rows[rowIndexDeleted].Cells) 17733DataGridViewRowEventArgs dgvre = new(Rows[NewRowIndex]); 18707dataGridViewRow = Rows[rowIndex]; 19840newRow = Rows[NewRowIndex]; // un-share the 'new row'. 20017DataGridViewRowCancelEventArgs dgvrce = new(Rows[rowIndex]); 20021DataGridViewRow dataGridViewRow = Rows[rowIndex]; 25436dataGridViewCurrentCell = Rows[_ptCurrentCell.Y].Cells[_ptCurrentCell.X]; 25461dataGridViewCurrentCell = Rows[_ptCurrentCell.Y].Cells[_ptCurrentCell.X]; 26630_ = Rows[rowIndex]; 26902currentCell = Rows[oldCurrentCellY].Cells[oldCurrentCellX]; 27013currentCell = Rows[rowIndex].Cells[columnIndex]; 27115currentCell = Rows[oldCurrentCellY].Cells[oldCurrentCellX]; 27548DataGridViewCell dataGridViewCell = Rows[rowIndex].Cells[columnIndex]; 27572dataGridViewCellTmp = Rows[row].Cells[columnIndex]; 27579dataGridViewCellTmp = Rows[row].Cells[columnIndex]; 27590dataGridViewCellTmp = Rows[rowIndex].Cells[column]; 27597dataGridViewCellTmp = Rows[rowIndex].Cells[column]; 27698DataGridViewCell dataGridViewCell = Rows[rowIndex].Cells[columnIndex]; 27735dataGridViewCellTmp = Rows[row].Cells[columnIndex]; 27742dataGridViewCellTmp = Rows[row].Cells[columnIndex]; 27770dataGridViewCellTmp = Rows[rowIndex].Cells[column]; 27777dataGridViewCellTmp = Rows[rowIndex].Cells[column];
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
313|| string.IsNullOrEmpty(DataGridView.Rows[i].Cells[j].Value?.ToString())) 318_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)];