TableLayoutCellPaintEventArgs Class
Provides data for the CellPaint event.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
System::EventArgs
System.Windows.Forms::PaintEventArgs
System.Windows.Forms::TableLayoutCellPaintEventArgs
| Name | Description | |
|---|---|---|
![]() | TableLayoutCellPaintEventArgs(Graphics^, Rectangle, Rectangle, Int32, Int32) | Initializes a new instance of the TableLayoutCellPaintEventArgs class. |
| Name | Description | |
|---|---|---|
![]() | CellBounds | Gets the size and location of the cell. |
![]() | ClipRectangle | Gets the rectangle in which to paint.(Inherited from PaintEventArgs.) |
![]() | Column | Gets the column of the cell. |
![]() | Graphics | Gets the graphics used to paint.(Inherited from PaintEventArgs.) |
![]() | Row | Gets the row of the cell. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases all resources used by the PaintEventArgs.(Inherited from PaintEventArgs.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the PaintEventArgs and optionally releases the managed resources.(Inherited from PaintEventArgs.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from PaintEventArgs.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The TableLayoutCellPaintEventArgs class provides information about the row, column, and bounds of the cell to support painting of the cell in the table.
The following example shows how to a TableLayoutCellPaintEventArgs to customize the appearance of a TableLayoutPanel control. This code example is part of a larger example provided for the TableLayoutPanel control.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


