62 references to GetHeight
System.Windows.Forms (62)
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
2009
return this.owningRow.
GetHeight
(rowIndex);
2650
return new Size(this.owningColumn.Thickness, this.owningRow.
GetHeight
(rowIndex));
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
467
return new Size(this.DataGridView.RowHeadersWidth, this.OwningRow.
GetHeight
(rowIndex));
winforms\Managed\System\WinForms\DataGridViewMethods.cs (51)
332
int preferredThickness = dataGridViewRow.Cells[dataGridViewColumn.Index].GetPreferredWidth(rowIndex, dataGridViewRow.
GetHeight
(rowIndex));
1315
cy += this.Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
1330
cy += this.Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
1350
cy += this.Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
2034
preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, this.Rows.SharedRow(rowIndex).
GetHeight
(rowIndex)));
2050
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndex);
2069
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndex);
2092
preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, this.Rows.SharedRow(rowIndex).
GetHeight
(rowIndex)));
2207
preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, this.Rows.SharedRow(rowIndexTmp).
GetHeight
(rowIndexTmp)));
2223
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndexTmp);
2242
int dataGridViewRowHeight = dataGridViewRow.
GetHeight
(rowIndexTmp);
2265
preferredWidth = Math.Max(preferredWidth, this.Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, this.Rows.SharedRow(rowIndexTmp).
GetHeight
(rowIndexTmp)));
4271
rowHeight = this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
4286
rowHeight = this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
4305
height += this.Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
4319
this.Rows.SharedRow(lastVisibleRowIndex).
GetHeight
(lastVisibleRowIndex);
4782
cy += this.Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
4834
cy += this.Rows.SharedRow(i).
GetHeight
(i);
4850
int height = this.Rows.SharedRow(i).
GetHeight
(i);
8734
if (this.verticalOffset + this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(this.displayedBandsInfo.FirstDisplayedScrollingRow) <=
8915
if (this.verticalOffset + this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(this.displayedBandsInfo.FirstDisplayedScrollingRow) <=
9142
cy += this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9163
cy += this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9172
if (cutOverflow && cy + this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp) > data.Bottom)
9178
displayHeight = this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9216
rowHeight = this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9236
rowHeight = this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9295
y += this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9333
y += this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9346
y -= this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
9563
int rowHeight = this.Rows.SharedRow(hti.row).
GetHeight
(hti.row);
9726
int rowHeight = this.Rows.SharedRow(hti.row).
GetHeight
(hti.row);
10813
int rowHeight = this.Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
11523
int rowHeight = this.Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
17023
this.vertScrollBar.Value + this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(this.displayedBandsInfo.FirstDisplayedScrollingRow) <=
17032
if (this.vertScrollBar.Value + this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(this.displayedBandsInfo.FirstDisplayedScrollingRow) >
20132
int rowHeight = this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
20137
rowBounds.Height = this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
20184
int rowHeight = this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
20189
rowBounds.Height = this.Rows.SharedRow(indexTmp).
GetHeight
(indexTmp);
20368
this.Columns[this.ptCurrentCell.X].Width, this.Rows.SharedRow(this.ptCurrentCell.Y).
GetHeight
(this.ptCurrentCell.Y));
26394
int yRowBottomEdge = GetRowYFromIndex(rowIndex) + this.Rows.SharedRow(rowIndex).
GetHeight
(rowIndex);
26397
yRowBottomEdge -= this.Rows.SharedRow(firstDisplayedScrollingRow).
GetHeight
(firstDisplayedScrollingRow);
26504
deltaY -= this.Rows.SharedRow(newFirstVisibleScrollingRow).
GetHeight
(newFirstVisibleScrollingRow);
26539
deltaY += this.Rows.SharedRow(newFirstVisibleScrollingRow).
GetHeight
(newFirstVisibleScrollingRow);
26566
deltaY = this.Rows.SharedRow(newFirstVisibleScrollingRow).
GetHeight
(newFirstVisibleScrollingRow);
26576
deltaY += this.Rows.SharedRow(newFirstVisibleScrollingRow).
GetHeight
(newFirstVisibleScrollingRow);
26586
deltaY = -this.Rows.SharedRow(newFirstVisibleScrollingRow).
GetHeight
(newFirstVisibleScrollingRow);
26594
deltaY -= this.Rows.SharedRow(scrollingRowTmp).
GetHeight
(scrollingRowTmp);
28493
if (this.vertScrollBar.Value + this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(this.displayedBandsInfo.FirstDisplayedScrollingRow) <=
28513
int firstDisplayedScrollingRowHeight = this.Rows.SharedRow(this.displayedBandsInfo.FirstDisplayedScrollingRow).
GetHeight
(this.displayedBandsInfo.FirstDisplayedScrollingRow);
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (8)
1388
rowsHeight += ((DataGridViewRow)this.items[rowIndex]).
GetHeight
(rowIndex);
1415
rowsHeight += ((DataGridViewRow)this.items[rowIndex]).
GetHeight
(rowIndex);
1432
rowsHeight += ((DataGridViewRow)this.items[rowIndex]).
GetHeight
(rowIndex);
2110
firstDisplayedRowHeight = SharedRow(firstDisplayedRowIndex).
GetHeight
(firstDisplayedRowIndex);
2137
int displayedRowsHeightBeforeAddition = GetRowsHeight(DataGridViewElementStates.Visible) - this.DataGridView.VerticalScrollingOffset - dataGridViewRow.
GetHeight
(rowIndex);
2175
firstDisplayedRowHeight = SharedRow(firstDisplayedRowIndex).
GetHeight
(firstDisplayedRowIndex);
2547
rowHeightIncrement = adding ? dataGridViewRow.
GetHeight
(rowIndex) : -dataGridViewRow.
GetHeight
(rowIndex);