TableLayoutPanel
Wisej.Web.TableLayoutPanel
Last updated
Wisej.Web.TableLayoutPanel
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Represents a panel that dynamically lays out its contents in a grid composed of rows and columns.
Initializes a new instance of the TableLayoutPanel class.
Int32: Returns or sets the number of columns in the table. (Default: 0
)
TableLayoutColumnStyleCollection: Returns a collection of column styles for the TableLayoutPanel.
TableLayoutControlCollection: Returns the collection of controls contained within the TableLayoutPanel.
TableLayoutPanelGrowStyle: Returns or sets whether the TableLayoutPanel control should expand to accommodate new cells when all existing cells are occupied. (Default: AddRows
)
LayoutEngine: Returns the control's layout engine.
Int32: Returns or sets the number of rows in the table. (Default: 0
)
TableLayoutRowStyleCollection: Returns a collection of row styles for the TableLayoutPanel.
Returns the TableLayoutPanelCellPosition that represents the row and the column of the cell.
control
A control contained within a cell.
Returns: TableLayoutPanelCellPosition. A TableLayoutPanelCellPosition that represents the cell position.
Returns the column position of the specified child control.
control
Returns: Int32. The column position of the specified child control, or -1 if the position of control is determined by LayoutEngine.
Throws:
ArgumentNullException control is null.
NotSupportedException control is not a type that can be arranged by this LayoutEngine.
Returns the number of columns spanned by the specified child control.
control
Returns: Int32. The number of columns spanned by the child control. The default is 1.
Returns the child control occupying the specified position.
column
The column position of the control to retrieve.
row
The row position of the control to retrieve.
Returns: Control. The child control occupying the specified cell; otherwise, null if no control exists at the specified column and row, or if the control has its Visible property set to false.
Throws:
ArgumentException Either column or row (or both) is less than 0.
Returns the TableLayoutPanelCellPosition that represents the row and the column of the cell that contains the control.
control
A control contained within a cell.
Returns: TableLayoutPanelCellPosition. A TableLayoutPanelCellPosition that represents the cell position.
Returns the row position of the specified child control.
control
Returns: Int32. The row position of control , or -1 if the position of control is determined by LayoutEngine.
Throws:
ArgumentNullException control is null.
NotSupportedException control is not a type that can be arranged by this LayoutEngine.
Returns an array representing the heights, in pixels, of the rows in the TableLayoutPanel.
Returns: Int32[]. An array of type Int32 that contains the heights, in pixels, of the rows in the TableLayoutPanel.
Returns the number of rows spanned by the specified child control.
control
Returns: Int32. The number of rows spanned by the child control. The default is 1.
Sets the TableLayoutPanelCellPosition that represents the row and the column of the cell.
control
A control contained within a cell.
position
Sets the column position of the specified child control.
control
The control to move to another column.
column
The column to which control will be moved.
Sets the number of columns spanned by the child control.
control
value
The number of columns to span.
Throws:
ArgumentOutOfRangeException value is less than 1.
Sets the row position of the specified child control.
control
The control to move to another row.
row
The row to which control will be moved.
Sets the number of rows spanned by the child control.
control
value
The number of rows to span.
Throws:
ArgumentOutOfRangeException value is less than 1.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
Provides access to common image properties across the controls that implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
A child control of the .
A child control of the .
A child control of the .
A child control of the .
A that represents the row and the column of the cell.
A child control of the .
A child control of the .
All wisej controls derived from the class must implement this interface.