214 references to SharedRow
System.Windows.Forms (214)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
1788
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(_ptCurrentCell.Y);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (126)
359
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
425
dataGridViewCell = Rows.
SharedRow
(rowIndex).Cells[columnIndex];
435
dataGridViewCell = Rows.
SharedRow
(rowIndex).HeaderCell;
448
Rows.
SharedRow
(rowIndex).GetHeightInfo(rowIndex, out int height, out int minimumHeight);
503
dataGridViewCell = Rows.
SharedRow
(rowIndex).Cells[columnIndex];
512
dataGridViewCell = Rows.
SharedRow
(rowIndex).HeaderCell;
525
if (Rows.
SharedRow
(rowIndex).Height < preferredHeight)
1372
cy += Rows.
SharedRow
(rowIndex).GetHeight(rowIndex);
1387
cy += Rows.
SharedRow
(rowIndex).GetHeight(rowIndex);
1408
cy += Rows.
SharedRow
(rowIndex).GetHeight(rowIndex);
2075
? Math.Max(preferredWidth, Rows.
SharedRow
(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, Rows.
SharedRow
(rowIndex).GetHeight(rowIndex)))
2076
: Math.Max(preferredWidth, Rows.
SharedRow
(rowIndex).HeaderCell.GetPreferredSize(rowIndex).Width);
2088
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
2105
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
2126
? Math.Max(preferredWidth, Rows.
SharedRow
(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, Rows.
SharedRow
(rowIndex).GetHeight(rowIndex)))
2127
: Math.Max(preferredWidth, Rows.
SharedRow
(rowIndex).HeaderCell.GetPreferredSize(rowIndex).Width);
2237
? Math.Max(preferredWidth, Rows.
SharedRow
(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, Rows.
SharedRow
(rowIndexTmp).GetHeight(rowIndexTmp)))
2238
: Math.Max(preferredWidth, Rows.
SharedRow
(rowIndexTmp).HeaderCell.GetPreferredSize(rowIndexTmp).Width);
2250
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndexTmp);
2267
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndexTmp);
2288
? Math.Max(preferredWidth, Rows.
SharedRow
(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, Rows.
SharedRow
(rowIndexTmp).GetHeight(rowIndexTmp)))
2289
: Math.Max(preferredWidth, Rows.
SharedRow
(rowIndexTmp).HeaderCell.GetPreferredSize(rowIndexTmp).Width);
2339
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
2818
clip.Y = topEdge + Rows.
SharedRow
(index).GetMinimumHeight(index) - mouseBarOffset - 1;
4357
rowHeight = Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
4373
rowHeight = Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
4392
height += Rows.
SharedRow
(rowIndex).GetHeight(rowIndex);
4407
Rows.
SharedRow
(lastVisibleRowIndex).GetHeight(lastVisibleRowIndex);
4856
cy += Rows.
SharedRow
(rowIndex).GetHeight(rowIndex);
4902
cy += Rows.
SharedRow
(i).GetHeight(i);
4919
int height = Rows.
SharedRow
(i).GetHeight(i);
5410
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
5436
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
6382
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(_trackRow);
6965
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
6984
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
7012
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
7165
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
7359
cellContent = Rows.
SharedRow
(rowIndex)
7377
cellContent = Rows.
SharedRow
(rowIndex)
7396
cellContent = Rows.
SharedRow
(rowIndex).HeaderCell.GetClipboardContentInternal(
7416
cellContent = Rows.
SharedRow
(rowIndex).HeaderCell.GetClipboardContentInternal(
7433
cellContent = Rows.
SharedRow
(rowIndex)
7451
cellContent = Rows.
SharedRow
(rowIndex)
7654
cellContent = Rows.
SharedRow
(rowIndex)
7672
cellContent = Rows.
SharedRow
(rowIndex)
7691
cellContent = Rows.
SharedRow
(rowIndex)
7713
cellContent = Rows.
SharedRow
(rowIndex)
7732
cellContent = Rows.
SharedRow
(rowIndex)
7750
cellContent = Rows.
SharedRow
(rowIndex)
8100
cellContent = Rows.
SharedRow
(rowIndex)
8120
cellContent = Rows.
SharedRow
(rowIndex)
8140
cellContent = Rows.
SharedRow
(rowIndex)
8170
cellContent = Rows.
SharedRow
(rowIndex)
8711
if (VerticalScrollingOffset + Rows.
SharedRow
(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <=
8896
if (VerticalScrollingOffset + Rows.
SharedRow
(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <=
9114
cy += Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
9135
cy += Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
9143
int displayHeight = cutOverflow && cy + Rows.
SharedRow
(indexTmp).GetHeight(indexTmp) > data.Bottom
9145
: Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
9181
rowHeight = Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
9202
rowHeight = Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
9267
y += Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
9306
y += Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
9319
y -= Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
9483
int rowHeight = Rows.
SharedRow
(hti._row).GetHeight(hti._row);
9625
int rowHeight = Rows.
SharedRow
(hti._row).GetHeight(hti._row);
10666
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
10696
int rowHeight = Rows.
SharedRow
(rowIndex).GetHeight(rowIndex);
10697
Rows.
SharedRow
(rowIndex).CachedThickness = rowHeight;
10865
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
10887
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
11017
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
11038
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
11393
int rowHeight = Rows.
SharedRow
(rowIndex).GetHeight(rowIndex);
11394
Rows.
SharedRow
(rowIndex).CachedThickness = rowHeight;
11792
dataGridViewCell = Rows.
SharedRow
(rowIndex).Cells[columnIndex];
11880
dataGridViewCell = Rows.
SharedRow
(rowIndex).Cells[columnIndex];
12188
&& IsSharedCellSelected(Rows.
SharedRow
(hti._row).Cells[hti._col], hti._row)
12343
&& (Columns[hti._col].Selected || IsSharedCellSelected(Rows.
SharedRow
(hti._row).Cells[hti._col], hti._row))
12549
|| IsSharedCellSelected(Rows.
SharedRow
(hti._row).Cells[hti._col], hti._row))
13116
dataGridViewCell = Rows.
SharedRow
(rowIndex).Cells[columnIndex];
13162
dataGridViewCell = Rows.
SharedRow
(rowIndex).Cells[columnIndex];
15506
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
15527
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
16648
&& _vertScrollBar.Value + Rows.
SharedRow
(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow)
16659
if (_vertScrollBar.Value + Rows.
SharedRow
(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow)
17177
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
17791
dataGridViewCell = Rows.
SharedRow
(rowIndex).Cells[columnIndex];
18398
dataGridViewCell = Rows.
SharedRow
(rowIndex).Cells[columnIndex];
18799
dataGridViewCell = Rows.
SharedRow
(rowIndex).Cells[columnIndex];
18845
dataGridViewCell = Rows.
SharedRow
(rowIndex).Cells[columnIndex];
19642
int rowHeight = Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
19643
Rows.
SharedRow
(indexTmp).CachedThickness = rowHeight;
19647
rowBounds.Height = Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
19659
dataGridViewRow = Rows.
SharedRow
(indexTmp);
19698
int rowHeight = Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
19699
Rows.
SharedRow
(indexTmp).CachedThickness = rowHeight;
19703
rowBounds.Height = Rows.
SharedRow
(indexTmp).GetHeight(indexTmp);
19715
dataGridViewRow = Rows.
SharedRow
(indexTmp);
19834
DataGridViewRow newRow = Rows.
SharedRow
(NewRowIndex);
19886
Columns[_ptCurrentCell.X].Width, Rows.
SharedRow
(_ptCurrentCell.Y).GetHeight(_ptCurrentCell.Y));
26000
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
26357
int yRowBottomEdge = GetRowYFromIndex(rowIndex) + Rows.
SharedRow
(rowIndex).GetHeight(rowIndex);
26360
yRowBottomEdge -= Rows.
SharedRow
(firstDisplayedScrollingRow).GetHeight(firstDisplayedScrollingRow);
26472
deltaY -= Rows.
SharedRow
(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow);
26510
deltaY += Rows.
SharedRow
(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow);
26538
deltaY = Rows.
SharedRow
(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow);
26548
deltaY += Rows.
SharedRow
(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow);
26559
deltaY = -Rows.
SharedRow
(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow);
26567
deltaY -= Rows.
SharedRow
(scrollingRowTmp).GetHeight(scrollingRowTmp);
26739
return Rows.
SharedRow
(index).Cells[columnIndex];
26766
return Rows.
SharedRow
(rowIndex).Cells[index];
26836
&& !IsSharedCellVisible(Rows.
SharedRow
(rowIndex).Cells[columnIndex], rowIndex))
26898
currentCell = Rows.
SharedRow
(oldCurrentCellY).Cells[oldCurrentCellX];
27111
currentCell = Rows.
SharedRow
(oldCurrentCellY).Cells[oldCurrentCellX];
27544
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
27694
DataGridViewRow dataGridViewRow = Rows.
SharedRow
(rowIndex);
28502
if (_vertScrollBar.Value + Rows.
SharedRow
(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <=
28526
int firstDisplayedScrollingRowHeight = Rows.
SharedRow
(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow);
30050
dataGridViewCell = Rows.
SharedRow
(hti._row).Cells[hti._col];
30058
dataGridViewCell = Rows.
SharedRow
(hti._row).HeaderCell;
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (3)
86
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
129
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
174
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (9)
155
Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.
SharedRow
(RowIndex).State);
257
Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.
SharedRow
(RowIndex).State);
436
Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.
SharedRow
(RowIndex).State);
506
Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.
SharedRow
(RowIndex).State);
538
Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.
SharedRow
(RowIndex).State);
743
Debug.Assert(DataGridView.Rows.GetRowState(RowIndex) == DataGridView.Rows.
SharedRow
(RowIndex).State);
1805
if (DataGridView.Rows.
SharedRow
(rowIndex) != OwningRow)
1913
if (DataGridView.Rows.
SharedRow
(rowIndex).HasDefaultCellStyle)
1915
rowStyle = DataGridView.Rows.
SharedRow
(rowIndex).DefaultCellStyle;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (5)
90
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
133
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
177
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
217
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
271
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (3)
955
dataGridViewRow = dataGridView.Rows.
SharedRow
(rowIndex);
979
dataGridViewRow = dataGridView.Rows.
SharedRow
(rowIndex);
1004
dataGridViewRow = dataGridView.Rows.
SharedRow
(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (11)
56
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
119
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
165
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
208
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
252
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
296
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
337
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
400
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
443
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
484
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
527
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (2)
239
if (DataGridView is not null && DataGridView.Rows.
SharedRow
(rowIndex) != OwningRow)
365
if (DataGridView.Rows.
SharedRow
(rowIndex) != OwningRow)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (3)
97
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
171
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
211
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (7)
55
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
124
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
166
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
216
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
261
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
304
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
346
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (3)
1375
if (DataGridView is null || DataGridView.Rows.
SharedRow
(rowIndex).Index != -1)
1426
DataGridViewRow sharedRow = dataGridView.Rows.
SharedRow
(rowIndex);
1468
sharedRow = dataGridView.Rows.
SharedRow
(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (29)
123
DataGridViewRow dataGridViewRow =
SharedRow
(index);
499
DataGridViewRow rowTemplate =
SharedRow
(indexSource);
521
if (!RowIsSharable(index) || RowHasValueOrToolTipText(
SharedRow
(index)) || IsCollectionChangedListenedTo)
526
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add,
SharedRow
(index)), index, 1);
579
return AddCopiesPrivate(
SharedRow
(indexSource), rowTemplateState, count);
619
DataGridViewRow rowTemplate2 =
SharedRow
(index);
663
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add,
SharedRow
(index)), index, 1);
818
SharedRow
(rowIndex).DetachFromDataGridView();
1334
DataGridViewRow dataGridViewRow =
SharedRow
(rowIndex);
1607
InsertCopiesPrivate(
SharedRow
(indexSource), rowTemplateState, indexDestination, count);
1647
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add,
SharedRow
(indexDestination)), indexDestination, count, false, true, false, newCurrentCell);
1660
DataGridViewRow rowTemplate2 =
SharedRow
(indexDestination);
1703
OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add,
SharedRow
(indexDestination)), indexDestination, 1, false, true, false, newCurrentCell);
1916
originalIndex =
SharedRow
(rowIndex).Index;
1920
if (originalIndex == -1 &&
SharedRow
(rowIndex).Index != -1)
1942
originalIndex =
SharedRow
(rowIndex).Index;
1946
if (originalIndex == -1 &&
SharedRow
(rowIndex).Index != -1)
1983
firstDisplayedRowHeight =
SharedRow
(firstDisplayedRowIndex).GetHeight(firstDisplayedRowIndex);
2012
dataGridViewRow =
SharedRow
(rowIndex);
2050
firstDisplayedRowHeight =
SharedRow
(firstDisplayedRowIndex).GetHeight(firstDisplayedRowIndex);
2215
DataGridViewRow dataGridViewRow =
SharedRow
(index);
2222
dataGridViewRow =
SharedRow
(index);
2262
DataGridViewRow dataGridViewRow =
SharedRow
(index);
2291
DataGridViewRow dataGridViewRow =
SharedRow
(rowIndex);
2385
DataGridViewRow dataGridViewRow1 =
SharedRow
(rowIndex1);
2386
DataGridViewRow dataGridViewRow2 =
SharedRow
(rowIndex2);
2421
SharedRow
(rowIndex).Index = rowIndex;
2422
SharedRow
(rowIndex).State = SharedRowState(rowIndex);
2441
dataGridViewRow =
SharedRow
(rowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.RowComparer.cs (1)
52
DataGridViewRow 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)
67
DataGridViewRow dataGridViewRow = dataGridViewRows.
SharedRow
(rowIndex);