62 references to GetHeight
System.Windows.Forms (62)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (51)
362dataGridViewRow.GetHeight(rowIndex)); 1372cy += Rows.SharedRow(rowIndex).GetHeight(rowIndex); 1387cy += Rows.SharedRow(rowIndex).GetHeight(rowIndex); 1408cy += Rows.SharedRow(rowIndex).GetHeight(rowIndex); 2075? Math.Max(preferredWidth, Rows.SharedRow(rowIndex).HeaderCell.GetPreferredWidth(rowIndex, Rows.SharedRow(rowIndex).GetHeight(rowIndex))) 2089int dataGridViewRowHeight = dataGridViewRow.GetHeight(rowIndex); 2106int 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))) 2251int dataGridViewRowHeight = dataGridViewRow.GetHeight(rowIndexTmp); 2268int dataGridViewRowHeight = dataGridViewRow.GetHeight(rowIndexTmp); 2288? Math.Max(preferredWidth, Rows.SharedRow(rowIndexTmp).HeaderCell.GetPreferredWidth(rowIndexTmp, Rows.SharedRow(rowIndexTmp).GetHeight(rowIndexTmp))) 4357rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 4373rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 4392height += Rows.SharedRow(rowIndex).GetHeight(rowIndex); 4407Rows.SharedRow(lastVisibleRowIndex).GetHeight(lastVisibleRowIndex); 4856cy += Rows.SharedRow(rowIndex).GetHeight(rowIndex); 4902cy += Rows.SharedRow(i).GetHeight(i); 4919int height = Rows.SharedRow(i).GetHeight(i); 8711if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 8896if (VerticalScrollingOffset + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 9114cy += Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9135cy += Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9143int displayHeight = cutOverflow && cy + Rows.SharedRow(indexTmp).GetHeight(indexTmp) > data.Bottom 9145: Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9181rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9202rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9267y += Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9306y += Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9319y -= Rows.SharedRow(indexTmp).GetHeight(indexTmp); 9483int rowHeight = Rows.SharedRow(hti._row).GetHeight(hti._row); 9625int rowHeight = Rows.SharedRow(hti._row).GetHeight(hti._row); 10696int rowHeight = Rows.SharedRow(rowIndex).GetHeight(rowIndex); 11393int rowHeight = Rows.SharedRow(rowIndex).GetHeight(rowIndex); 16648&& _vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) 16659if (_vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) 19642int rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 19647rowBounds.Height = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 19698int rowHeight = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 19703rowBounds.Height = Rows.SharedRow(indexTmp).GetHeight(indexTmp); 19886Columns[_ptCurrentCell.X].Width, Rows.SharedRow(_ptCurrentCell.Y).GetHeight(_ptCurrentCell.Y)); 26357int yRowBottomEdge = GetRowYFromIndex(rowIndex) + Rows.SharedRow(rowIndex).GetHeight(rowIndex); 26360yRowBottomEdge -= Rows.SharedRow(firstDisplayedScrollingRow).GetHeight(firstDisplayedScrollingRow); 26472deltaY -= Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26510deltaY += Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26538deltaY = Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26548deltaY += Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26559deltaY = -Rows.SharedRow(newFirstVisibleScrollingRow).GetHeight(newFirstVisibleScrollingRow); 26567deltaY -= Rows.SharedRow(scrollingRowTmp).GetHeight(scrollingRowTmp); 28502if (_vertScrollBar.Value + Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow) <= 28526int firstDisplayedScrollingRowHeight = Rows.SharedRow(DisplayedBandsInfo.FirstDisplayedScrollingRow).GetHeight(DisplayedBandsInfo.FirstDisplayedScrollingRow);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1721return OwningRow.GetHeight(rowIndex); 2363return new Size(OwningColumn.Thickness, OwningRow.GetHeight(rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
370return new Size(DataGridView.RowHeadersWidth, OwningRow.GetHeight(rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (8)
1270rowsHeight += _items[rowIndex].GetHeight(rowIndex); 1298rowsHeight += _items[rowIndex].GetHeight(rowIndex); 1316rowsHeight += _items[rowIndex].GetHeight(rowIndex); 1983firstDisplayedRowHeight = SharedRow(firstDisplayedRowIndex).GetHeight(firstDisplayedRowIndex); 2011int displayedRowsHeightBeforeAddition = GetRowsHeight(DataGridViewElementStates.Visible) - DataGridView.VerticalScrollingOffset - dataGridViewRow.GetHeight(rowIndex); 2050firstDisplayedRowHeight = SharedRow(firstDisplayedRowIndex).GetHeight(firstDisplayedRowIndex); 2440rowHeightIncrement = adding ? dataGridViewRow!.GetHeight(rowIndex) : -dataGridViewRow!.GetHeight(rowIndex);