DataGridViewCellPaintingEventArgs::CellBounds Property
.NET Framework (current version)
Get the bounds of the current DataGridViewCell.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System.Drawing::RectangleA Rectangle that represents the bounds of the current DataGridViewCell.
The following code example illustrates the use of this property. For more information, see How to: Customize the Appearance of Cells in the Windows Forms DataGridView Control.
.NET Framework
Available since 2.0
Available since 2.0
Show: