GetContentBounds Method
TOC
Collapse the table of content
Expand the table of content

DataGridViewCell.GetContentBounds Method

Returns the bounding rectangle that encloses the cell's content area.

Name Description
DataGridViewCell.GetContentBounds (Int32) Returns the bounding rectangle that encloses the cell's content area using a default Graphics and cell style currently in effect for the cell.
DataGridViewCell.GetContentBounds (Graphics, DataGridViewCellStyle, Int32) Returns the bounding rectangle that encloses the cell's content area, which is calculated using the specified Graphics and cell style.

Community Additions

ADD
Show:
© 2016 Microsoft