TableLayoutPanel::OnCellPaint Method (TableLayoutCellPaintEventArgs^)

 

Receives a call when the cell should be refreshed.

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

protected:
virtual void OnCellPaint(
	TableLayoutCellPaintEventArgs^ e
)

Parameters

e
Type: System.Windows.Forms::TableLayoutCellPaintEventArgs^

A TableLayoutCellPaintEventArgs that provides data for the event.

The following code example demonstrates how to override the OnCellPaint method to create a custom appearance for a cell.

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

.NET Framework
Available since 2.0
Return to top
Show: