All pages
Powered by GitBook
1 of 1

Loading...

TableLayoutSettings

Wisej.Web.TableLayoutSettings

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Collects the characteristics associated with table layouts.

public class TableLayoutSettings : LayoutSettings, ISerializable
Public Class TableLayoutSettings
    Inherits LayoutSettings
    Implements ISerializable

Properties

ColumnCount

: Returns or sets the maximum number of columns allowed in the table layout.

Throws:

  • The property value is less than 0.

ColumnStyles

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

GrowStyle

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

LayoutEngine

: Returns the current table layout engine.

RowCount

: Returns or sets the maximum number of rows allowed in the table layout.

Throws:

  • The property value is less than 0.

RowStyles

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

Methods

GetCellPosition(control)

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

Parameter
Type
Description

Returns: . A that represents the cell position.

Throws:

  • control is null.

GetColumn(control)

Returns the column position of the specified child control.

Parameter
Type
Description

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

Throws:

  • control is null.

GetColumnSpan(control)

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

Parameter
Type
Description

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

GetRow(control)

Returns the row position of the specified child control.

Parameter
Type
Description

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

Throws:

  • control is null.

GetRowSpan(control)

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

Parameter
Type
Description

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

SetCellPosition(control, cell)

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

Parameter
Type
Description

Throws:

  • control is null.

SetColumn(control, column)

Sets the column position for the specified child control.

Parameter
Type
Description

Throws:

  • control is null.

  • column is less than -1.

SetColumnSpan(control, value)

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

Parameter
Type
Description

Throws:

  • control is null.

  • value is less than 1.

SetRow(control, row)

Sets the row position of the specified child control.

Parameter
Type
Description

Throws:

  • control is null.

  • row is less than -1.

SetRowSpan(control, value)

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

Parameter
Type
Description

Throws:

  • control is null.

  • value is less than 1.

control

Object

A control contained within a cell.

control

Object

A control contained within a cell.

control

Object

A control contained within a cell.

control

Object

A control contained within a cell.

control

Object

A control contained within a cell.

control

Object

A control contained within a cell.

cell

TableLayoutPanelCellPosition

A TableLayoutPanelCellPosition that represents the cell position.

control

Object

A control contained within a cell.

column

Int32

The column position for the specified child control.

control

Object

A control contained within a cell.

value

Int32

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

control

Object

A control contained within a cell.

row

Int32

The row position of the specified child control.

control

Object

A control contained within a cell.

value

Int32

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

Int32
ArgumentOutOfRangeException
TableLayoutColumnStyleCollection
TableLayoutPanelGrowStyle
LayoutEngine
Int32
ArgumentOutOfRangeException
TableLayoutRowStyleCollection
TableLayoutPanelCellPosition
TableLayoutPanelCellPosition
TableLayoutPanelCellPosition
ArgumentNullException
Int32
ArgumentNullException
Int32
Int32
ArgumentNullException
Int32
TableLayoutPanelCellPosition
ArgumentNullException
ArgumentNullException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException