62 references to GetHeight
System.Windows.Forms (62)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (51)
317
dataGridViewRow.
GetHeight
(rowIndex));
1327
cy += Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
1342
cy += Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
1363
cy += Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
2030
? Math.Max(preferredWidth, Rows.SharedRow(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, Rows.SharedRow(rowIndex).
GetHeight
(rowIndex)))
2044
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndex);
2061
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndex);
2081
? Math.Max(preferredWidth, Rows.SharedRow(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, Rows.SharedRow(rowIndex).
GetHeight
(rowIndex)))
2192
? Math.Max(preferredWidth, Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, Rows.SharedRow(rowIndexTmp).
GetHeight
(rowIndexTmp)))
2206
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndexTmp);
2223
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndexTmp);
2243
? Math.Max(preferredWidth, Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, Rows.SharedRow(rowIndexTmp).
GetHeight
(rowIndexTmp)))
4298
rowHeight = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
4314
rowHeight = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
4333
height += Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
4348
Rows.SharedRow(lastVisibleRowIndex).
GetHeight
(lastVisibleRowIndex);
4797
cy += Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
4843
cy += Rows.SharedRow(i).
GetHeight
(i);
4860
int height = Rows.SharedRow(i).
GetHeight
(i);
8652
if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(DisplayedBandsInfo.FirstDisplayedScrollingRow) <=
8837
if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(DisplayedBandsInfo.FirstDisplayedScrollingRow) <=
9055
cy += Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9076
cy += Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9084
int displayHeight = cutOverflow && cy + Rows.SharedRow(indexTmp).
GetHeight
(indexTmp) > data.Bottom
9086
: Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9122
rowHeight = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9143
rowHeight = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9208
y += Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9247
y += Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9260
y -= Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9424
int rowHeight = Rows.SharedRow(hti._row).
GetHeight
(hti._row);
9566
int rowHeight = Rows.SharedRow(hti._row).
GetHeight
(hti._row);
10637
int rowHeight = Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
11334
int rowHeight = Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
16583
&& _vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(DisplayedBandsInfo.FirstDisplayedScrollingRow)
16594
if (_vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(DisplayedBandsInfo.FirstDisplayedScrollingRow)
19577
int rowHeight = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
19582
rowBounds.Height = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
19633
int rowHeight = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
19638
rowBounds.Height = Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
19821
Columns[_ptCurrentCell.X].Width, Rows.SharedRow(_ptCurrentCell.Y).
GetHeight
(_ptCurrentCell.Y));
26284
int yRowBottomEdge = GetRowYFromIndex(rowIndex) + Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
26287
yRowBottomEdge -= Rows.SharedRow(firstDisplayedScrollingRow).
GetHeight
(firstDisplayedScrollingRow);
26399
deltaY -= Rows.SharedRow(newFirstVisibleScrollingRow).
GetHeight
(newFirstVisibleScrollingRow);
26437
deltaY += Rows.SharedRow(newFirstVisibleScrollingRow).
GetHeight
(newFirstVisibleScrollingRow);
26465
deltaY = Rows.SharedRow(newFirstVisibleScrollingRow).
GetHeight
(newFirstVisibleScrollingRow);
26475
deltaY += Rows.SharedRow(newFirstVisibleScrollingRow).
GetHeight
(newFirstVisibleScrollingRow);
26486
deltaY = -Rows.SharedRow(newFirstVisibleScrollingRow).
GetHeight
(newFirstVisibleScrollingRow);
26494
deltaY -= Rows.SharedRow(scrollingRowTmp).
GetHeight
(scrollingRowTmp);
28429
if (_vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(DisplayedBandsInfo.FirstDisplayedScrollingRow) <=
28453
int firstDisplayedScrollingRowHeight = Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(DisplayedBandsInfo.FirstDisplayedScrollingRow);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1720
return OwningRow.
GetHeight
(rowIndex);
2362
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);