TableLayoutColumnStyleCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
A collection that stores ColumnStyle objects.
- C#
- VB.NET
public class TableLayoutColumnStyleCollection : TableLayoutStyleCollection
Public Class TableLayoutColumnStyleCollection
Inherits TableLayoutStyleCollection
Properties
Item(index)
ColumnStyle: Returns or sets the ColumnStyle at the specified index.
Methods
Add(colStyle)
Adds a new ColumnStyle to the TableLayoutColumnStyleCollection.
| Parameter | Type | Description |
|---|---|---|
| colStyle | ColumnStyle | The ColumnStyle to add to the TableLayoutColumnStyleCollection. |
Returns: Int32. The position into which the new element was inserted.
Contains(colStyle)
Determines whether the TableLayoutColumnStyleCollection contains a specific style.
| Parameter | Type | Description |
|---|---|---|
| colStyle | ColumnStyle | The ColumnStyle to locate in the TableLayoutColumnStyleCollection. |
Returns: Boolean. true if the ColumnStyle is found in the TableLayoutColumnStyleCollection; otherwise, false.
IndexOf(colStyle)
Determines the index of a specific item in the TableLayoutColumnStyleCollection.
| Parameter | Type | Description |
|---|---|---|
| colStyle | ColumnStyle | The ColumnStyle to locate in the TableLayoutColumnStyleCollection. |
Returns: Int32. The index of colStyle if found in the TableLayoutColumnStyleCollection; otherwise, -1.
Insert(index, colStyle)
Inserts a ColumnStyle into the TableLayoutColumnStyleCollection at the specified position.
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The zero-based index at which the ColumnStyle should be inserted. |
| colStyle | ColumnStyle | The ColumnStyle to insert into the TableLayoutColumnStyleCollection. The value can be null. |
Remove(colStyle)
Removes the first occurrence of a specific object from the TableLayoutColumnStyleCollection.
| Parameter | Type | Description |
|---|---|---|
| colStyle | ColumnStyle | The ColumnStyle to remove from the TableLayoutColumnStyleCollection. The value can be null. |