Export (0) Print
Expand All

DataGridViewCell.GetContentBounds Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method 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.
Protected method 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.
Top
Show:
© 2015 Microsoft