Class TableColumnCollection
Contains the columns in a table.
Implements
Inherited Members
Namespace: DRIT.Document.Tables
Assembly: DRIT.Document.dll
Syntax
public sealed class TableColumnCollection : Collection<TableColumn>, IList<TableColumn>, ICollection<TableColumn>, IList, ICollection, IReadOnlyList<TableColumn>, IReadOnlyCollection<TableColumn>, IEnumerable<TableColumn>, IEnumerable
Constructors
TableColumnCollection()
Initializes a new instance of the TableColumnCollection class.
Declaration
public TableColumnCollection()
TableColumnCollection(params TableColumn[])
Initializes a new instance of the TableColumnCollection class.
Declaration
public TableColumnCollection(params TableColumn[] columns)
Parameters
| Type | Name | Description |
|---|---|---|
| TableColumn[] | columns | The columns used by the operation. |
Methods
Add(double)
Adds the specified item to this collection.
Declaration
public TableColumn Add(double preferredWidth)
Parameters
| Type | Name | Description |
|---|---|---|
| double | preferredWidth | The preferred Width used by the operation. |
Returns
| Type | Description |
|---|---|
| TableColumn | The resulting value. |
InsertItem(int, TableColumn)
Describes the table Column Collection configuration.
Declaration
protected override void InsertItem(int index, TableColumn item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the item. |
| TableColumn | item | The item to use for the operation. |
Overrides
SetItem(int, TableColumn)
Describes the table Column Collection configuration.
Declaration
protected override void SetItem(int index, TableColumn item)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the item. |
| TableColumn | item | The item to use for the operation. |