Skip to main content
Version: 3.5

TableLayoutSettings

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Collects the characteristics associated with table layouts.

public class TableLayoutSettings : LayoutSettings, ISerializable

Properties

Instance memberColumnCount

Int32: Returns or sets the maximum number of columns allowed in the table layout. (Default: 0)

Throws:

Instance memberColumnStyles

TableLayoutColumnStyleCollection: Returns the collection of styles used to determine the look and feel of the table layout columns.

Instance memberGrowStyle

TableLayoutPanelGrowStyle: Returns or sets a value indicating how the table layout should expand to accommodate new cells when all existing cells are occupied. (Default: AddRows)

Instance memberLayoutEngine

LayoutEngine: Returns the current table layout engine.

Instance memberRowCount

Int32: Returns or sets the maximum number of rows allowed in the table layout. (Default: 0)

Throws:

Instance memberRowStyles

TableLayoutRowStyleCollection: Returns the collection of styles used to determine the look and feel of the table layout rows.

Methods

Instance memberGetCellPosition(control)

Returns the TableLayoutPanelCellPosition that represents the row and the column of the cell.

ParameterTypeDescription
controlObjectA control contained within a cell.

Returns: TableLayoutPanelCellPosition. A TableLayoutPanelCellPosition that represents the cell position.

Throws:

Instance memberGetColumn(control)

Returns the column position of the specified child control.

ParameterTypeDescription
controlObjectA control contained within a cell.

Returns: Int32. The column position of the specified child control.

Throws:

Instance memberGetColumnSpan(control)

Returns the number of columns that the cell containing the child control spans.

ParameterTypeDescription
controlObjectA control contained within a cell.

Returns: Int32. The number of columns that the cell containing the child control spans.

Instance memberGetRow(control)

Returns the row position of the specified child control.

ParameterTypeDescription
controlObjectA control contained within a cell.

Returns: Int32. The row position of the specified child control.

Throws:

Instance memberGetRowSpan(control)

Returns the number of rows that the cell containing the child control spans.

ParameterTypeDescription
controlObjectA control contained within a cell.

Returns: Int32. The number of rows that the cell containing the child control spans.

Instance memberSetCellPosition(control, cell)

Sets the TableLayoutPanelCellPosition that represents the row and the column of the cell.

ParameterTypeDescription
controlObjectA control contained within a cell.
cellTableLayoutPanelCellPositionA TableLayoutPanelCellPosition that represents the cell position.

Throws:

Instance memberSetColumn(control, column)

Sets the column position for the specified child control.

ParameterTypeDescription
controlObjectA control contained within a cell.
columnInt32The column position for the specified child control.

Throws:

Instance memberSetColumnSpan(control, value)

Sets the number of columns that the cell containing the child control spans.

ParameterTypeDescription
controlObjectA control contained within a cell.
valueInt32The number of columns that the cell containing the child control spans.

Throws:

Instance memberSetRow(control, row)

Sets the row position of the specified child control.

ParameterTypeDescription
controlObjectA control contained within a cell.
rowInt32The row position of the specified child control.

Throws:

Instance memberSetRowSpan(control, value)

Sets the number of rows that the cell containing the child control spans.

ParameterTypeDescription
controlObjectA control contained within a cell.
valueInt32The number of rows that the cell containing the child control spans.

Throws: