Home > DeveloperSection > Beginner > TableLayoutPanel Control in VB.Net

TableLayoutPanel Control in VB.Net

VB.Net VB.Net 
0 Comment(s)
 11248  View(s)
Rate this:

TableLayoutPanel Control in VB.Net

The TableLayoutPanel control is a container of other control where child controls are added within a table structure. Control can be added to a cell of the table.

Drag and drop TableLayoutPanel from toolbox on the window Form.

TableLayoutPanel Control in VB.Net

You can add more row and column from collection property of TableLayoutPanel.

You can add controls to a TableLayoutPanel by dragging and dropping control to the TableLayoutPanel.

TableLayoutPanel Control in VB.Net

TableLayoutPanel can have only one control in each cell.

You cannot add more than one control in a cell.  If you want to add more control then you have to add new cell in TableLayoutPanel to do this first you have to add row or column in the TableLayoutPanel.

TableLayoutPanel properties

You can show or Hide a TableLayoutPanel. If you want to hide then set TableLayoutPanel visibility to false.

Private Sub Form28_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        'hide TableLayoutPanel

        TableLayoutPanel1.Visible = False

 End Sub

When you run the project then all control inside TableLayoutPanel will not show.

TableLayoutPanel Control in VB.Net

Don't want to miss updates? Please click the below button!

Follow MindStick