TableLayoutPanel::CellBorderStyle Property
.NET Framework (current version)
Gets or sets the style of the cell borders.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property TableLayoutPanelCellBorderStyle CellBorderStyle { TableLayoutPanelCellBorderStyle get(); void set(TableLayoutPanelCellBorderStyle value); }
Property Value
Type: System.Windows.Forms::TableLayoutPanelCellBorderStyleOne of the TableLayoutPanelCellBorderStyle values describing the style of all the cell borders in the table. The default is None.
Setting this value will cause the panel to redraw itself and its contents.
The following code example sets the value of the BorderStyle property depending on the selected RadioButton.
.NET Framework
Available since 2.0
Available since 2.0
Show: