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