Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.TableLayoutPanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.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.
Returns: TableLayoutPanelCellPosition. A TableLayoutPanelCellPosition that represents the cell position.
Returns the column position of the specified child 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.
Returns: Int32. The number of columns spanned by the child control. The default is 1.
Returns the child control occupying the specified position.
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.
Returns: TableLayoutPanelCellPosition. A TableLayoutPanelCellPosition that represents the cell position.
Returns the row position of the specified child 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.
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.
Sets the column position of the specified child control.
Sets the number of columns spanned by the child control.
Throws:
ArgumentOutOfRangeException value is less than 1.
Sets the row position of the specified child control.
Sets the number of rows spanned by the child control.
Throws:
ArgumentOutOfRangeException value is less than 1.
Wisej.Web.TableLayoutControlCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a collection of child controls in a table layout container.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns the parent that contains the controls in the collection.
Adds the specified control to the collection and positions it at the specified cell.
Throws:
Wisej.Web.ColumnStyle
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the look and feel of a column in a table layout.
Initializes an instance of the class to its default state.
Initializes and instance of the class to its default state.
Name | Type | Description |
---|
Initializes an instance of the class using the supplied value.
Name | Type | Description |
---|
Throws:
Throws:
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|
Either * column* or row is less than -1.
Initializes and instance of the class using the supplied and width values.
Name | Type | Description |
---|
width is less than 0.
: Returns or sets the width value for a column.
The value is less than 0 when setting this property.
control
A control contained within a cell.
control
A child control of the TableLayoutPanel.
control
A child control of the TableLayoutPanel.
column
The column position of the control to retrieve.
row
The row position of the control to retrieve.
control
A control contained within a cell.
control
A child control of the TableLayoutPanel.
control
A child control of the TableLayoutPanel.
control
A control contained within a cell.
position
A TableLayoutPanelCellPosition that represents the row and the column of the cell.
control
The control to move to another column.
column
The column to which control will be moved.
control
A child control of the TableLayoutPanel.
value
The number of columns to span.
control
The control to move to another row.
row
The row to which control will be moved.
control
A child control of the TableLayoutPanel.
value
The number of rows to span.
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.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
control | The control to add. |
column | The column in which control will be placed. |
row | The row in which control will be placed. |
sizeType |
width | The preferred width, in pixels or percentage, depending on the sizeType parameter. |
container |
style | Underlying style instance. |
sizeType |
AddColumns | The gains additional columns after it is full. |
AddRows | The gains additional rows after it is full. |
FixedSize | The does not allow additional rows or columns after it is full. |
Returns or sets whether the control should expand to accommodate new cells when all existing cells are occupied. |
Returns or sets a value indicating how the table layout should expand to accommodate new cells when all existing cells are occupied. |
Wisej.Web.RowStyle
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the look and feel of a row in a table layout.
Initializes an instance of the RowStyle class to its default state.
Initializes an instance of the RowStyle class.
Name | Type | Description |
---|---|---|
Initializes an instance of the RowStyle class using the supplied SizeType value.
Name | Type | Description |
---|---|---|
Initializes an instance of the RowStyle class using the supplied SizeType and height values.
Throws:
ArgumentOutOfRangeException height is less than 0.
Single: Returns or sets the height of a row.
Throws:
ArgumentOutOfRangeException The value is less than 0 when setting this property.
Wisej.Web.TableLayoutStyle
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Implements the basic functionality that represents the appearance and behavior of a table layout.
SizeType: Returns or sets a flag indicating how a row or column should be sized relative to its containing table. (Default: AutoSize
)
Name | Description |
---|---|
Wisej.Web.TableLayoutPanelCellPosition
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a cell in a .
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns or sets the column number of the current .
: Returns or sets the row number of the current .
Wisej.Web.TableLayoutStyleCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Implements the basic functionality for a collection of table layout styles.
: Gets the number of styles actually contained in the .
: Returns or sets at the specified index.
Throws:
The property value is already assigned to another owner. You must first remove it from its current location or clone it.
Throws:
Removes the style at the specified index of the collection.
Wisej.Web.TableLayoutRowStyleCollection
Wisej.Web.TableLayoutColumnStyleCollection
A indicating how the column should be should be sized relative to its containing table.
The control that contains the control collection.
A indicating how the column should be should be sized relative to its containing table.
Name | Type | Description |
---|---|---|
Name | Description |
---|
Adds a new to the end of the current collection.
Parameter | Type | Description |
---|
Returns: . The position into which the new element was inserted.
style is already assigned to another owner. You must first remove it from its current location or clone it.
Disassociates the collection from its associated and empties the collection.
Parameter | Type | Description |
---|
Name | Description |
---|
Determines whether the contains a specific style.
Parameter | Type | Description |
---|
Returns: . true if the is found in the ; otherwise, false.
Determines the index of a specific item in the .
Parameter | Type | Description |
---|
Returns: . The index of rowStyle if found in the ; otherwise, -1.
Inserts a into the at the specified position.
Parameter | Type | Description |
---|
Removes the first occurrence of a specific object from the .
Parameter | Type | Description |
---|
Determines whether the contains a specific style.
Parameter | Type | Description |
---|
Returns: . true if the is found in the ; otherwise, false.
Determines the index of a specific item in the .
Parameter | Type | Description |
---|
Returns: . The index of colStyle if found in the ; otherwise, -1.
Inserts a into the at the specified position.
Parameter | Type | Description |
---|
Removes the first occurrence of a specific object from the .
Parameter | Type | Description |
---|
sizeType
A SizeType indicating how the row should be should be sized relative to its containing table.
height
The preferred height in pixels or percentage of the TableLayoutPanel, depending on sizeType .
style |
index |
rowStyle |
rowStyle |
index |
rowStyle |
rowStyle |
colStyle |
colStyle |
index |
colStyle |
colStyle |
style
Underlying style instance.
sizeType
A SizeType indicating how the row should be should be sized relative to its containing table.
Represents the look and feel of a column in a table layout.
Represents the look and feel of a row in a table layout.
column | The column position of the cell. |
row | The row position of the cell. |
rowStyle |
colStyle |
Wisej.Web.TableLayoutSettings
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Collects the characteristics associated with table layouts.
Int32: Returns or sets the maximum number of columns allowed in the table layout. (Default: 0
)
Throws:
ArgumentOutOfRangeException The property value is less than 0.
TableLayoutColumnStyleCollection: Returns the collection of styles used to determine the look and feel of the table layout columns.
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
)
LayoutEngine: Returns the current table layout engine.
Int32: Returns or sets the maximum number of rows allowed in the table layout. (Default: 0
)
Throws:
ArgumentOutOfRangeException The property value is less than 0.
TableLayoutRowStyleCollection: Returns the collection of styles used to determine the look and feel of the table layout rows.
Returns the TableLayoutPanelCellPosition that represents the row and the column of the cell.
Returns: TableLayoutPanelCellPosition. A TableLayoutPanelCellPosition that represents the cell position.
Throws:
ArgumentNullException control is null.
Returns the column position of the specified child control.
Returns: Int32. The column position of the specified child control.
Throws:
ArgumentNullException control is null.
Returns the number of columns that the cell containing the child control spans.
Returns: Int32. The number of columns that the cell containing the child control spans.
Returns the row position of the specified child control.
Returns: Int32. The row position of the specified child control.
Throws:
ArgumentNullException control is null.
Returns the number of rows that the cell containing the child control spans.
Returns: Int32. The number of rows that the cell containing the child control spans.
Sets the TableLayoutPanelCellPosition that represents the row and the column of the cell.
Throws:
ArgumentNullException control is null.
Sets the column position for the specified child control.
Throws:
ArgumentNullException control is null.
ArgumentException column is less than -1.
Sets the number of columns that the cell containing the child control spans.
Throws:
ArgumentNullException control is null.
ArgumentOutOfRangeException value is less than 1.
Sets the row position of the specified child control.
Throws:
ArgumentNullException control is null.
ArgumentException row is less than -1.
Sets the number of rows that the cell containing the child control spans.
Throws:
ArgumentNullException control is null.
ArgumentOutOfRangeException value is less than 1.
Returns the that represents the row and the column of the cell.
Returns the that represents the row and the column of the cell.
The to add to the .
The zero-based index of the to be removed.
A collection that stores objects.
A collection that stores objects.
The to locate in the .
The to locate in the .
The zero-based index at which the should be inserted.
The to insert into the . The value can be null.
The to remove from the . The value can be null.
The to locate in the .
The to locate in the .
The zero-based index at which the should be inserted.
The to insert into the . The value can be null.
The to remove from the . The value can be null.
The to add to the .
The to add to the .
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
control
A control contained within a cell.
control
A control contained within a cell.
control
A control contained within a cell.
control
A control contained within a cell.
control
A control contained within a cell.
control
A control contained within a cell.
cell
A TableLayoutPanelCellPosition that represents the cell position.
control
A control contained within a cell.
column
The column position for the specified child control.
control
A control contained within a cell.
value
The number of columns that the cell containing the child control spans.
control
A control contained within a cell.
row
The row position of the specified child control.
control
A control contained within a cell.
value
The number of rows that the cell containing the child control spans.