214 references to SharedRow
System.Windows.Forms (214)
winforms\Managed\System\WinForms\DataGridView.cs (1)
2251DataGridViewRow dataGridViewRow = this.Rows.SharedRow(this.ptCurrentCell.Y);
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (3)
103DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 145DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 187DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
winforms\Managed\System\WinForms\DataGridViewCell.cs (9)
236Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 401Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 590Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 666Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 714Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 977Debug.Assert(this.DataGridView.Rows.GetRowState(this.RowIndex) == this.DataGridView.Rows.SharedRow(this.RowIndex).State); 2095if (this.DataGridView.Rows.SharedRow(rowIndex) != this.owningRow) 2195if (this.DataGridView.Rows.SharedRow(rowIndex).HasDefaultCellStyle) 2197rowStyle = this.DataGridView.Rows.SharedRow(rowIndex).DefaultCellStyle;
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (5)
121DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 161DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 202DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 245DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 299DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
winforms\Managed\System\WinForms\DataGridViewColumn.cs (3)
1266dataGridViewRow = dataGridView.Rows.SharedRow(rowIndex); 1289dataGridViewRow = dataGridView.Rows.SharedRow(rowIndex); 1312dataGridViewRow = dataGridView.Rows.SharedRow(rowIndex);
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (11)
60DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 137DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 180DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 221DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 263DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 303DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 342DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 405DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 444DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 483DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 530DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (2)
338if (this.DataGridView != null && this.DataGridView.Rows.SharedRow(rowIndex) != this.OwningRow) 463if (this.DataGridView.Rows.SharedRow(rowIndex) != this.OwningRow)
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (3)
120DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 214DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 253DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
winforms\Managed\System\WinForms\DataGridViewLinkColumn.cs (7)
55DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 126DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 165DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 217DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 259DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 299DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex); 338DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (126)
331DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 389dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 399dataGridViewCell = this.Rows.SharedRow(rowIndex).HeaderCell; 417this.Rows.SharedRow(rowIndex).GetHeightInfo(rowIndex, out height, out minimumHeight); 467dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 477dataGridViewCell = this.Rows.SharedRow(rowIndex).HeaderCell; 494if (this.Rows.SharedRow(rowIndex).Height < preferredHeight) 1315cy += this.Rows.SharedRow(rowIndex).GetHeight(rowIndex); 1330cy += this.Rows.SharedRow(rowIndex).GetHeight(rowIndex); 1350cy += this.Rows.SharedRow(rowIndex).GetHeight(rowIndex); 2034preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, this.Rows.SharedRow(rowIndex).GetHeight(rowIndex))); 2038preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndex).HeaderCell.GetPreferredSize(rowIndex).Width); 2049DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 2068DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 2092preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, this.Rows.SharedRow(rowIndex).GetHeight(rowIndex))); 2096preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndex).HeaderCell.GetPreferredSize(rowIndex).Width); 2207preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, this.Rows.SharedRow(rowIndexTmp).GetHeight(rowIndexTmp))); 2211preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredSize(rowIndexTmp).Width); 2222DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndexTmp); 2241DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndexTmp); 2265preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, this.Rows.SharedRow(rowIndexTmp).GetHeight(rowIndexTmp))); 2269preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredSize(rowIndexTmp).Width); 2315DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 2810clip.Y = topEdge + this.Rows.SharedRow(index).GetMinimumHeight(index) - mouseBarOffset - 1; 4271rowHeight = this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 4286rowHeight = this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 4305height += this.Rows.SharedRow(rowIndex).GetHeight(rowIndex); 4319this.Rows.SharedRow(lastVisibleRowIndex).GetHeight(lastVisibleRowIndex); 4782cy += this.Rows.SharedRow(rowIndex).GetHeight(rowIndex); 4834cy += this.Rows.SharedRow(i).GetHeight(i); 4850int height = this.Rows.SharedRow(i).GetHeight(i); 5353DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 5379DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 6353DataGridViewRow dataGridViewRow = this.Rows.SharedRow(this.trackRow); 6973DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 6990DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 7018DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 7185DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 7384cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7398cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7414cellContent = this.Rows.SharedRow(rowIndex).HeaderCell.GetClipboardContentInternal(rowIndex, 7433cellContent = this.Rows.SharedRow(rowIndex).HeaderCell.GetClipboardContentInternal(rowIndex, 7449cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7463cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7656cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7670cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7686cellContent = this.Rows.SharedRow(rowIndex).HeaderCell.GetClipboardContentInternal(rowIndex, 7705cellContent = this.Rows.SharedRow(rowIndex).HeaderCell.GetClipboardContentInternal(rowIndex, 7721cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 7735cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 8122cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 8138cellContent = this.Rows.SharedRow(rowIndex).HeaderCell.GetClipboardContentInternal(rowIndex, 8155cellContent = this.Rows.SharedRow(rowIndex).HeaderCell.GetClipboardContentInternal(rowIndex, 8182cellContent = this.Rows.SharedRow(rowIndex).Cells[dataGridViewColumn.Index].GetClipboardContentInternal(rowIndex, 8734if (this.verticalOffset + this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(this.displayedBandsInfo.FirstDisplayedScrollingRow) <= 8915if (this.verticalOffset + this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(this.displayedBandsInfo.FirstDisplayedScrollingRow) <= 9142cy += this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9163cy += this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9172if (cutOverflow && cy + this.Rows.SharedRow(indexTmp).GetHeight(indexTmp) > data.Bottom) 9178displayHeight = this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9216rowHeight = this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9236rowHeight = this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9295y += this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9333y += this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9346y -= this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9563int rowHeight = this.Rows.SharedRow(hti.row).GetHeight(hti.row); 9726int rowHeight = this.Rows.SharedRow(hti.row).GetHeight(hti.row); 10784DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 10813int rowHeight = this.Rows.SharedRow(rowIndex).GetHeight(rowIndex); 10814this.Rows.SharedRow(rowIndex).CachedThickness = rowHeight; 10962DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 10981DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 11104DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 11124DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 11523int rowHeight = this.Rows.SharedRow(rowIndex).GetHeight(rowIndex); 11524this.Rows.SharedRow(rowIndex).CachedThickness = rowHeight; 12023dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 12156dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 12501IsSharedCellSelected(this.Rows.SharedRow(hti.row).Cells[hti.col], hti.row) && 12633(this.Columns[hti.col].Selected || IsSharedCellSelected(this.Rows.SharedRow(hti.row).Cells[hti.col], hti.row)) && 12813IsSharedCellSelected(this.Rows.SharedRow(hti.row).Cells[hti.col], hti.row)) && 13453dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 13505dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 15926DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 15946DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 17023this.vertScrollBar.Value + this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(this.displayedBandsInfo.FirstDisplayedScrollingRow) <= 17032if (this.vertScrollBar.Value + this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(this.displayedBandsInfo.FirstDisplayedScrollingRow) > 17566DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 18188dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 18836dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 19272dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 19319dataGridViewCell = this.Rows.SharedRow(rowIndex).Cells[columnIndex]; 20132int rowHeight = this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 20133this.Rows.SharedRow(indexTmp).CachedThickness = rowHeight; 20137rowBounds.Height = this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 20148dataGridViewRow = this.Rows.SharedRow(indexTmp); 20184int rowHeight = this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 20185this.Rows.SharedRow(indexTmp).CachedThickness = rowHeight; 20189rowBounds.Height = this.Rows.SharedRow(indexTmp).GetHeight(indexTmp); 20200dataGridViewRow = this.Rows.SharedRow(indexTmp); 20318DataGridViewRow newRow = this.Rows.SharedRow(this.newRowIndex); 20368this.Columns[this.ptCurrentCell.X].Width, this.Rows.SharedRow(this.ptCurrentCell.Y).GetHeight(this.ptCurrentCell.Y)); 26047DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 26394int yRowBottomEdge = GetRowYFromIndex(rowIndex) + this.Rows.SharedRow(rowIndex).GetHeight(rowIndex); 26397yRowBottomEdge -= this.Rows.SharedRow(firstDisplayedScrollingRow).GetHeight(firstDisplayedScrollingRow); 26504deltaY -= this.Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26539deltaY += this.Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26566deltaY = this.Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26576deltaY += this.Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26586deltaY = -this.Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26594deltaY -= this.Rows.SharedRow(scrollingRowTmp).GetHeight(scrollingRowTmp); 26759return this.Rows.SharedRow(index).Cells[columnIndex]; 26784return this.Rows.SharedRow(rowIndex).Cells[index]; 26845!IsSharedCellVisible(this.Rows.SharedRow(rowIndex).Cells[columnIndex], rowIndex)) 26906currentCell = this.Rows.SharedRow(oldCurrentCellY).Cells[oldCurrentCellX]; 27104currentCell = this.Rows.SharedRow(oldCurrentCellY).Cells[oldCurrentCellX]; 27491DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 27644DataGridViewRow dataGridViewRow = this.Rows.SharedRow(rowIndex); 28493if (this.vertScrollBar.Value + this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(this.displayedBandsInfo.FirstDisplayedScrollingRow) <= 28513int firstDisplayedScrollingRowHeight = this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(this.displayedBandsInfo.FirstDisplayedScrollingRow); 29872dataGridViewCell = this.Rows.SharedRow(hti.row).Cells[hti.col]; 29880dataGridViewCell = this.Rows.SharedRow(hti.row).HeaderCell;
winforms\Managed\System\WinForms\DataGridViewRow.cs (3)
1478if (this.DataGridView == null || this.DataGridView.Rows.SharedRow(rowIndex).Index != -1) 1526DataGridViewRow sharedRow = dataGridView.Rows.SharedRow(rowIndex); 1567sharedRow = dataGridView.Rows.SharedRow(rowIndex);
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (30)
260DataGridViewRow dataGridViewRow = SharedRow(index); 659DataGridViewRow rowTemplate = SharedRow(indexSource); 680if (!RowIsSharable(index) || RowHasValueOrToolTipText(SharedRow(index)) || this.IsCollectionChangedListenedTo) 684OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(index)), index, 1); 734return AddCopiesPrivate(SharedRow(indexSource), rowTemplateState, count); 771DataGridViewRow rowTemplate2 = SharedRow(index); 810OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(index)), index, 1); 964SharedRow(rowIndex).DetachFromDataGridView(); 1449DataGridViewRow dataGridViewRow = SharedRow(rowIndex); 1736InsertCopiesPrivate(SharedRow(indexSource), rowTemplateState, indexDestination, count); 1776OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(indexDestination)), indexDestination, count, false, true, false, newCurrentCell); 1789DataGridViewRow rowTemplate2 = SharedRow(indexDestination); 1829OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(indexDestination)), indexDestination, 1, false, true, false, newCurrentCell); 2048originalIndex = SharedRow(rowIndex).Index; 2051if (originalIndex == -1 && SharedRow(rowIndex).Index != -1) 2072originalIndex = SharedRow(rowIndex).Index; 2075if (originalIndex == -1 && SharedRow(rowIndex).Index != -1) 2110firstDisplayedRowHeight = SharedRow(firstDisplayedRowIndex).GetHeight(firstDisplayedRowIndex); 2138dataGridViewRow = SharedRow(rowIndex); 2175firstDisplayedRowHeight = SharedRow(firstDisplayedRowIndex).GetHeight(firstDisplayedRowIndex); 2332DataGridViewRow dataGridViewRow = SharedRow(index); 2340dataGridViewRow = SharedRow(index); 2377DataGridViewRow dataGridViewRow = SharedRow(index); 2400DataGridViewRow dataGridViewRow = SharedRow(rowIndex); 2488DataGridViewRow dataGridViewRow1 = SharedRow(rowIndex1); 2489DataGridViewRow dataGridViewRow2 = SharedRow(rowIndex2); 2528SharedRow(rowIndex).IndexInternal = rowIndex; 2529SharedRow(rowIndex).StateInternal = SharedRowState(rowIndex); 2548dataGridViewRow = SharedRow(rowIndex); 2812DataGridViewRow dataGridViewRow = this.dataGridViewRows.SharedRow(rowIndex);
winforms\Managed\System\WinForms\DataGridViewRowPostPaintEventArgs.cs (5)
162this.dataGridView.Rows.SharedRow(rowIndex).DrawFocus(this.graphics, 178this.dataGridView.Rows.SharedRow(rowIndex).PaintCells(this.graphics, 200this.dataGridView.Rows.SharedRow(rowIndex).PaintCells(this.graphics, 217this.dataGridView.Rows.SharedRow(rowIndex).PaintCells(this.graphics, 245this.dataGridView.Rows.SharedRow(rowIndex).PaintHeader(this.graphics,
winforms\Managed\System\WinForms\DataGridViewRowPrePaintEventArgs.cs (5)
181this.dataGridView.Rows.SharedRow(this.rowIndex).DrawFocus(this.graphics, 197this.dataGridView.Rows.SharedRow(this.rowIndex).PaintCells(this.graphics, 219this.dataGridView.Rows.SharedRow(this.rowIndex).PaintCells(this.graphics, 236this.dataGridView.Rows.SharedRow(this.rowIndex).PaintCells(this.graphics, 264this.dataGridView.Rows.SharedRow(this.rowIndex).PaintHeader(this.graphics,
winforms\Managed\System\WinForms\DataGridViewTextBoxColumn.cs (1)
76DataGridViewRow dataGridViewRow = dataGridViewRows.SharedRow(rowIndex);