318 references to SharedRow
System.Windows.Forms (216)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
1777DataGridViewRow dataGridViewRow = Rows.SharedRow(_ptCurrentCell.Y);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (127)
339DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 399dataGridViewCell = Rows.SharedRow(rowIndex).Cells[columnIndex]; 409dataGridViewCell = Rows.SharedRow(rowIndex).HeaderCell; 428Rows.SharedRow(rowIndex).GetHeightInfo(rowIndex, out int height, out int minimumHeight); 480dataGridViewCell = Rows.SharedRow(rowIndex).Cells[columnIndex]; 489dataGridViewCell = Rows.SharedRow(rowIndex).HeaderCell; 508if (Rows.SharedRow(rowIndex).Height < preferredHeight) 1361cy += Rows.SharedRow(rowIndex).GetHeight(rowIndex); 1376cy += Rows.SharedRow(rowIndex).GetHeight(rowIndex); 1397cy += Rows.SharedRow(rowIndex).GetHeight(rowIndex); 2089preferredWidth = Math.Max(preferredWidth, Rows.SharedRow(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, Rows.SharedRow(rowIndex).GetHeight(rowIndex))); 2093preferredWidth = Math.Max(preferredWidth, Rows.SharedRow(rowIndex).HeaderCell.GetPreferredSize(rowIndex).Width); 2106DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 2128DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 2155preferredWidth = Math.Max(preferredWidth, Rows.SharedRow(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, Rows.SharedRow(rowIndex).GetHeight(rowIndex))); 2159preferredWidth = Math.Max(preferredWidth, Rows.SharedRow(rowIndex).HeaderCell.GetPreferredSize(rowIndex).Width); 2276preferredWidth = Math.Max(preferredWidth, Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, Rows.SharedRow(rowIndexTmp).GetHeight(rowIndexTmp))); 2280preferredWidth = Math.Max(preferredWidth, Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredSize(rowIndexTmp).Width); 2293DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndexTmp); 2314DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndexTmp); 2341preferredWidth = Math.Max(preferredWidth, Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, Rows.SharedRow(rowIndexTmp).GetHeight(rowIndexTmp))); 2345preferredWidth = Math.Max(preferredWidth, Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredSize(rowIndexTmp).Width); 2396DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 2889clip.Y = topEdge + Rows.SharedRow(index).GetMinimumHeight(index) - mouseBarOffset - 1; 4427rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 4443rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 4462height += Rows.SharedRow(rowIndex).GetHeight(rowIndex); 4477Rows.SharedRow(lastVisibleRowIndex).GetHeight(lastVisibleRowIndex); 4931cy += Rows.SharedRow(rowIndex).GetHeight(rowIndex); 4982cy += Rows.SharedRow(i).GetHeight(i); 4999int height = Rows.SharedRow(i).GetHeight(i); 5509DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 5535DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 6502DataGridViewRow dataGridViewRow = Rows.SharedRow(_trackRow); 7095DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 7114DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 7142DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 7313DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 7519cellContent = Rows.SharedRow(rowIndex) 7537cellContent = Rows.SharedRow(rowIndex) 7556cellContent = Rows.SharedRow(rowIndex).HeaderCell.GetClipboardContentInternal( 7576cellContent = Rows.SharedRow(rowIndex).HeaderCell.GetClipboardContentInternal( 7593cellContent = Rows.SharedRow(rowIndex) 7611cellContent = Rows.SharedRow(rowIndex) 7814cellContent = Rows.SharedRow(rowIndex) 7832cellContent = Rows.SharedRow(rowIndex) 7851cellContent = Rows.SharedRow(rowIndex) 7873cellContent = Rows.SharedRow(rowIndex) 7892cellContent = Rows.SharedRow(rowIndex) 7910cellContent = Rows.SharedRow(rowIndex) 8260cellContent = Rows.SharedRow(rowIndex) 8280cellContent = Rows.SharedRow(rowIndex) 8300cellContent = Rows.SharedRow(rowIndex) 8330cellContent = Rows.SharedRow(rowIndex) 8924if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 9124if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 9357cy += Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9378cy += Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9387if (cutOverflow && cy + Rows.SharedRow(indexTmp).GetHeight(indexTmp) > data.Bottom) 9393displayHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9432rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9453rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9518y += Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9557y += Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9570y -= Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9792int rowHeight = Rows.SharedRow(hti._row).GetHeight(hti._row); 9965int rowHeight = Rows.SharedRow(hti._row).GetHeight(hti._row); 11020DataGridViewRow dataGridViewRowDebug = Rows.SharedRow(rowIndex); 11031DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 11061int rowHeight = Rows.SharedRow(rowIndex).GetHeight(rowIndex); 11062Rows.SharedRow(rowIndex).CachedThickness = rowHeight; 11229DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 11251DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 11380DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 11401DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 11756int rowHeight = Rows.SharedRow(rowIndex).GetHeight(rowIndex); 11757Rows.SharedRow(rowIndex).CachedThickness = rowHeight; 12151dataGridViewCell = Rows.SharedRow(rowIndex).Cells[columnIndex]; 12239dataGridViewCell = Rows.SharedRow(rowIndex).Cells[columnIndex]; 12544&& IsSharedCellSelected(Rows.SharedRow(hti._row).Cells[hti._col], hti._row) 12699&& (Columns[hti._col].Selected || IsSharedCellSelected(Rows.SharedRow(hti._row).Cells[hti._col], hti._row)) 12905|| IsSharedCellSelected(Rows.SharedRow(hti._row).Cells[hti._col], hti._row)) 13468dataGridViewCell = Rows.SharedRow(rowIndex).Cells[columnIndex]; 13514dataGridViewCell = Rows.SharedRow(rowIndex).Cells[columnIndex]; 15850DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 15871DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 16992&& _vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) 17003if (_vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) 17534DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 18162dataGridViewCell = Rows.SharedRow(rowIndex).Cells[columnIndex]; 18769dataGridViewCell = Rows.SharedRow(rowIndex).Cells[columnIndex]; 19170dataGridViewCell = Rows.SharedRow(rowIndex).Cells[columnIndex]; 19216dataGridViewCell = Rows.SharedRow(rowIndex).Cells[columnIndex]; 20024int rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 20025Rows.SharedRow(indexTmp).CachedThickness = rowHeight; 20029rowBounds.Height = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 20041dataGridViewRow = Rows.SharedRow(indexTmp); 20080int rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 20081Rows.SharedRow(indexTmp).CachedThickness = rowHeight; 20085rowBounds.Height = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 20097dataGridViewRow = Rows.SharedRow(indexTmp); 20219DataGridViewRow newRow = Rows.SharedRow(NewRowIndex); 20271Columns[_ptCurrentCell.X].Width, Rows.SharedRow(_ptCurrentCell.Y).GetHeight(_ptCurrentCell.Y)); 26404DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 26766int yRowBottomEdge = GetRowYFromIndex(rowIndex) + Rows.SharedRow(rowIndex).GetHeight(rowIndex); 26769yRowBottomEdge -= Rows.SharedRow(firstDisplayedScrollingRow).GetHeight(firstDisplayedScrollingRow); 26881deltaY -= Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26919deltaY += Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26947deltaY = Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26957deltaY += Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26968deltaY = -Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26976deltaY -= Rows.SharedRow(scrollingRowTmp).GetHeight(scrollingRowTmp); 27149return Rows.SharedRow(index).Cells[columnIndex]; 27176return Rows.SharedRow(rowIndex).Cells[index]; 27246&& !IsSharedCellVisible(Rows.SharedRow(rowIndex).Cells[columnIndex], rowIndex)) 27308currentCell = Rows.SharedRow(oldCurrentCellY).Cells[oldCurrentCellX]; 27520currentCell = Rows.SharedRow(oldCurrentCellY).Cells[oldCurrentCellX]; 27953DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 28103DataGridViewRow dataGridViewRow = Rows.SharedRow(rowIndex); 28911if (_vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 28935int firstDisplayedScrollingRowHeight = Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow); 30475dataGridViewCell = Rows.SharedRow(hti._row).Cells[hti._col]; 30483dataGridViewCell = Rows.SharedRow(hti._row).HeaderCell;
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (3)
86DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 129DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 174DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (10)
166Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.SharedRow(RowIndex).State); 271Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.SharedRow(RowIndex).State); 456Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.SharedRow(RowIndex).State); 526Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.SharedRow(RowIndex).State); 558Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.SharedRow(RowIndex).State); 767Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.SharedRow(RowIndex).State); 1818if (DataGridView.Rows.SharedRow(rowIndex) != OwningRow) 1879Debug.Assert(state == stateDebug || DataGridView.Rows.SharedRow(rowIndex).Index == -1); 1926if (DataGridView.Rows.SharedRow(rowIndex).HasDefaultCellStyle) 1928rowStyle = DataGridView.Rows.SharedRow(rowIndex).DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (5)
90DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 133DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 177DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 217DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 271DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (3)
958dataGridViewRow = dataGridView.Rows.SharedRow(rowIndex); 982dataGridViewRow = dataGridView.Rows.SharedRow(rowIndex); 1007dataGridViewRow = dataGridView.Rows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (11)
56DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 122DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 168DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 211DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 255DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 299DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 340DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 403DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 446DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 487DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 530DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (2)
253if (DataGridView is not null && DataGridView.Rows.SharedRow(rowIndex) != OwningRow) 379if (DataGridView.Rows.SharedRow(rowIndex) != OwningRow)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (3)
97DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 171DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 211DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (7)
55DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 124DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 166DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 216DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 261DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 304DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 346DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (3)
1377if (DataGridView is null || DataGridView.Rows.SharedRow(rowIndex).Index != -1) 1429DataGridViewRow sharedRow = dataGridView.Rows.SharedRow(rowIndex); 1471sharedRow = dataGridView.Rows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (29)
123DataGridViewRow dataGridViewRow = SharedRow(index); 499DataGridViewRow rowTemplate = SharedRow(indexSource); 521if (!RowIsSharable(index) || RowHasValueOrToolTipText(SharedRow(index)) || IsCollectionChangedListenedTo) 526OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(index)), index, 1); 579return AddCopiesPrivate(SharedRow(indexSource), rowTemplateState, count); 619DataGridViewRow rowTemplate2 = SharedRow(index); 663OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(index)), index, 1); 818SharedRow(rowIndex).DetachFromDataGridView(); 1334DataGridViewRow dataGridViewRow = SharedRow(rowIndex); 1607InsertCopiesPrivate(SharedRow(indexSource), rowTemplateState, indexDestination, count); 1647OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(indexDestination)), indexDestination, count, false, true, false, newCurrentCell); 1660DataGridViewRow rowTemplate2 = SharedRow(indexDestination); 1703OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(indexDestination)), indexDestination, 1, false, true, false, newCurrentCell); 1916originalIndex = SharedRow(rowIndex).Index; 1920if (originalIndex == -1 && SharedRow(rowIndex).Index != -1) 1942originalIndex = SharedRow(rowIndex).Index; 1946if (originalIndex == -1 && SharedRow(rowIndex).Index != -1) 1983firstDisplayedRowHeight = SharedRow(firstDisplayedRowIndex).GetHeight(firstDisplayedRowIndex); 2012dataGridViewRow = SharedRow(rowIndex); 2050firstDisplayedRowHeight = SharedRow(firstDisplayedRowIndex).GetHeight(firstDisplayedRowIndex); 2215DataGridViewRow dataGridViewRow = SharedRow(index); 2223dataGridViewRow = SharedRow(index); 2262DataGridViewRow dataGridViewRow = SharedRow(index); 2291DataGridViewRow dataGridViewRow = SharedRow(rowIndex); 2385DataGridViewRow dataGridViewRow1 = SharedRow(rowIndex1); 2386DataGridViewRow dataGridViewRow2 = SharedRow(rowIndex2); 2421SharedRow(rowIndex).Index = rowIndex; 2422SharedRow(rowIndex).State = SharedRowState(rowIndex); 2441dataGridViewRow = SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.RowComparer.cs (1)
52DataGridViewRow dataGridViewRow = _dataGridViewRows.SharedRow(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowPostPaintEventArgs.cs (5)
69_dataGridView.Rows.SharedRow(RowIndex).DrawFocus( 86_dataGridView.Rows.SharedRow(RowIndex).PaintCells( 110_dataGridView.Rows.SharedRow(RowIndex).PaintCells( 128_dataGridView.Rows.SharedRow(RowIndex).PaintCells( 157_dataGridView.Rows.SharedRow(RowIndex).PaintHeader(
System\Windows\Forms\Controls\DataGridView\DataGridViewRowPrePaintEventArgs.cs (5)
86_dataGridView.Rows.SharedRow(RowIndex).DrawFocus( 103_dataGridView.Rows.SharedRow(RowIndex).PaintCells( 127_dataGridView.Rows.SharedRow(RowIndex).PaintCells( 145_dataGridView.Rows.SharedRow(RowIndex).PaintCells( 174_dataGridView.Rows.SharedRow(RowIndex).PaintHeader(
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxColumn.cs (1)
67DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
System.Windows.Forms.Tests (102)
System\Windows\Forms\DataGridViewCellTests.ClipboardTests.cs (2)
83SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 130SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0];
System\Windows\Forms\DataGridViewCellTests.cs (42)
102SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 482DataGridViewRow row = control.Rows.SharedRow(0); 552DataGridViewRow row = control.Rows.SharedRow(0); 674DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 727SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 773DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 818DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 883DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 1067DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 1094DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 1322DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 1399DataGridViewRow row = control.Rows.SharedRow(0); 1502DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 1573DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 1650DataGridViewRow row = control.Rows.SharedRow(0); 1966DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 2038DataGridViewRow row = control.Rows.SharedRow(0); 2101DataGridViewRow row = control.Rows.SharedRow(0); 2187DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 2570DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 2733DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 2756DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 3057DataGridViewRow row = control.Rows.SharedRow(0); 3295SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 3632SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 3780DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 3944SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 4009SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 4095SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 4131SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 4303DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 4411DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 4627DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 4692DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 4893SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 4933SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 5035SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 5049SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 5203SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 5566SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 6330SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0]; 6381SubDataGridViewCell cell = (SubDataGridViewCell)control.Rows.SharedRow(0).Cells[0];
System\Windows\Forms\DataGridViewHeaderCellTests.cs (17)
249DataGridViewRow row = control.Rows.SharedRow(0); 417DataGridViewRow row = control.Rows.SharedRow(0); 537DataGridViewRow row = control.Rows.SharedRow(0); 710DataGridViewRow row = control.Rows.SharedRow(0); 840DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 1059DataGridViewRow row = control.Rows.SharedRow(0); 1198DataGridViewRow row = control.Rows.SharedRow(0); 1332DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 2010DataGridViewRow row = control.Rows.SharedRow(0); 2364DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 3005DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 3121DataGridViewCell cell = control.Rows.SharedRow(0).Cells[0]; 3262SubDataGridViewHeaderCell cell = (SubDataGridViewHeaderCell)control.Rows.SharedRow(0).Cells[0]; 3343SubDataGridViewHeaderCell cell = (SubDataGridViewHeaderCell)control.Rows.SharedRow(0).Cells[0]; 3571SubDataGridViewHeaderCell cell = (SubDataGridViewHeaderCell)control.Rows.SharedRow(0).Cells[0]; 3585SubDataGridViewHeaderCell cell = (SubDataGridViewHeaderCell)control.Rows.SharedRow(0).Cells[0]; 3805SubDataGridViewHeaderCell cell = (SubDataGridViewHeaderCell)control.Rows.SharedRow(0).Cells[0];
System\Windows\Forms\DataGridViewRowTests.cs (41)
142DataGridViewRow row = control.Rows.SharedRow(0); 215DataGridViewRow row = control.Rows.SharedRow(0); 341DataGridViewRow row = control.Rows.SharedRow(0); 356DataGridViewRow row = control.Rows.SharedRow(0); 381DataGridViewRow row = control.Rows.SharedRow(0); 567DataGridViewRow row = control.Rows.SharedRow(0); 591DataGridViewRow row = control.Rows.SharedRow(0); 685DataGridViewRow row = control.Rows.SharedRow(0); 706DataGridViewRow row = control.Rows.SharedRow(0); 757DataGridViewRow row = control.Rows.SharedRow(0); 781DataGridViewRow row = control.Rows.SharedRow(0); 886DataGridViewRow row = control.Rows.SharedRow(0); 976DataGridViewRow row = control.Rows.SharedRow(0); 1109DataGridViewRow row = control.Rows.SharedRow(0); 1152Assert.Throws<InvalidOperationException>(() => control.Rows.SharedRow(0).Frozen); 1369Assert.Throws<InvalidOperationException>(() => control.Rows.SharedRow(0).Frozen = value); 1411SubDataGridViewRow row = (SubDataGridViewRow)control.Rows.SharedRow(0); 1458SubDataGridViewRow row = (SubDataGridViewRow)control.Rows.SharedRow(0); 1650DataGridViewRow row = control.Rows.SharedRow(0); 1687DataGridViewRow row = control.Rows.SharedRow(0); 1809DataGridViewRow row = control.Rows.SharedRow(0); 2051DataGridViewRow row = control.Rows.SharedRow(0); 2197DataGridViewRow row = control.Rows.SharedRow(0); 2233DataGridViewRow row = control.Rows.SharedRow(0); 2245DataGridViewRow row = control.Rows.SharedRow(0); 2278DataGridViewRow row = control.Rows.SharedRow(0); 2499DataGridViewRow row = control.Rows.SharedRow(0); 2541DataGridViewRow row = control.Rows.SharedRow(0); 2723DataGridViewRow row = control.Rows.SharedRow(0); 2752DataGridViewRow row = control.Rows.SharedRow(0); 2764DataGridViewRow row = control.Rows.SharedRow(0); 2924DataGridViewRow row = control.Rows.SharedRow(0); 3049DataGridViewRow row = control.Rows.SharedRow(0); 3073DataGridViewRow row = control.Rows.SharedRow(0); 3097DataGridViewRow row = control.Rows.SharedRow(0); 3185DataGridViewRow row = control.Rows.SharedRow(0); 3206DataGridViewRow row = control.Rows.SharedRow(0); 3239DataGridViewRow row = control.Rows.SharedRow(0); 3370DataGridViewRow row = control.Rows.SharedRow(0); 4538DataGridViewRow row = control.Rows.SharedRow(0); 5750DataGridViewRow row = control.Rows.SharedRow(0);