Table of Contents

ExTableLayoutPanel

ExTableLayoutPanel is a TableLayoutPanel that draws the cell borders with its own color and thickness. The system style draws them in a fixed gray.

Custom style

Property Description
DefaultStyle true (default) leaves the drawing to Windows, false uses the custom style.
BorderColor, BorderThickness Cell borders drawn by the control.

Theme

The panel applies the theme to its child controls and takes PanelBackColor and PanelForeColor. In the custom style a panel designed with CellBorderStyle.Single switches to None and draws the borders itself in BorderColor; the system style restores Single. A panel without cell borders stays without them.

API