TableLayoutCellPaintEventArgs::CellBounds Property

 

Gets the size and location of the cell.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property Rectangle CellBounds {
	Rectangle get();
}

Property Value

Type: System.Drawing::Rectangle

A Rectangle representing the size and location of the cell.

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: