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