TableLayoutPanel Class
Represents a panel that dynamically lays out its contents in a grid composed of rows and columns.The TableLayoutPanel control creates subsections within a form that will maintain the sizes in either absolute or percentage values as a form is resized, without requiring additional code to move and size the individual sections.
Namespace: elsystem.windows.forms
Properties
Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).
Name | Type | Description | |
AutoScroll | bool | True if the container enables the user to scroll to any controls placed outside of its visible boundaries. | |
CellBorderStyle | enum | Gets or sets the border style of the cells. See TableLayoutPanelCellBorderStyle for possible values.. | |
ColumnCount | int | Represents the number of columns in the table. | |
ColumnStyles | object | Tthe TableLayoutControlCollection containing TableLayoutStyle objects for the columns of the TableLayoutPanel. | |
Controls | object | The TableLayoutControlCollection of control objects added to the TableLayoutPanel cells. | |
GrowStyle | object | Indicates how the TableLayoutPanel control should expand to accommodate new cells when all existing cells are occupied. See TableLayoutPanelGrowStyle for a list of styles. | |
RowCount | int | Represents the number of rows in the table. | |
RowStyles | object | The TableLayoutRowStyleCollection containing RowStyle objects for the rows of the TableLayoutPanel. |
Methods
Name | Description | |
AddColumnStyle(st,value) | Indicates the column style type and the width value of the panel. See SizeType for possible style types. | |
AddControl(ctrl) | Adds a control inherited from Control object to the panel. | |
AddControl(ctrl,column,row) | Adds a control inherited from Control object to the panel for a specific column and row. | |
AddRowStyle(st,value) | Indicates the row style type and the height value of the panel. See SizeType for possible style types. | |
Create() | Initializes a new instance of the class. |
Inheritance Hierarchy
elsystem.windows.forms.ELWFComponent
elsystem.windows.forms.Control
elsystem.windows.forms.TableLayoutPanel