62 references to GetHeight
System.Windows.Forms (62)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (51)
362
dataGridViewRow.
GetHeight
(rowIndex));
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)))
2089
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndex);
2106
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndex);
2126
? Math.Max(preferredWidth, Rows.SharedRow(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, Rows.SharedRow(rowIndex).
GetHeight
(rowIndex)))
2237
? Math.Max(preferredWidth, Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, Rows.SharedRow(rowIndexTmp).
GetHeight
(rowIndexTmp)))
2251
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndexTmp);
2268
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndexTmp);
2288
? Math.Max(preferredWidth, Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, Rows.SharedRow(rowIndexTmp).
GetHeight
(rowIndexTmp)))
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);
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);
10696
int rowHeight = Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
11393
int rowHeight = Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
16648
&& _vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(DisplayedBandsInfo.FirstDisplayedScrollingRow)
16659
if (_vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(DisplayedBandsInfo.FirstDisplayedScrollingRow)
19642
int rowHeight = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
19647
rowBounds.Height = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
19698
int rowHeight = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
19703
rowBounds.Height = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
19886
Columns[_ptCurrentCell.X].Width, Rows.SharedRow(_ptCurrentCell.Y).
GetHeight
(_ptCurrentCell.Y));
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);
28502
if (_vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(DisplayedBandsInfo.FirstDisplayedScrollingRow) <=
28526
int firstDisplayedScrollingRowHeight = Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(DisplayedBandsInfo.FirstDisplayedScrollingRow);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1721
return OwningRow.
GetHeight
(rowIndex);
2363
return new Size(OwningColumn.Thickness, OwningRow.
GetHeight
(rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
370
return new Size(DataGridView.RowHeadersWidth, OwningRow.
GetHeight
(rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (8)
1270
rowsHeight += _items[rowIndex].
GetHeight
(rowIndex);
1298
rowsHeight += _items[rowIndex].
GetHeight
(rowIndex);
1316
rowsHeight += _items[rowIndex].
GetHeight
(rowIndex);
1983
firstDisplayedRowHeight = SharedRow(firstDisplayedRowIndex).
GetHeight
(firstDisplayedRowIndex);
2011
int displayedRowsHeightBeforeAddition = GetRowsHeight(DataGridViewElementStates.Visible) - DataGridView.VerticalScrollingOffset - dataGridViewRow.
GetHeight
(rowIndex);
2050
firstDisplayedRowHeight = SharedRow(firstDisplayedRowIndex).
GetHeight
(firstDisplayedRowIndex);
2440
rowHeightIncrement = adding ? dataGridViewRow!.
GetHeight
(rowIndex) : -dataGridViewRow!.
GetHeight
(rowIndex);