Skip to main content
Version: 4.1

TableLayoutColumnStyleCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

A collection that stores ColumnStyle objects.

public class TableLayoutColumnStyleCollection : TableLayoutStyleCollection

Properties​

Instance member Item(index)​

ColumnStyle: Returns or sets the ColumnStyle at the specified index.

Methods​

Instance member Add(colStyle)​

Adds a new ColumnStyle to the TableLayoutColumnStyleCollection.

ParameterTypeDescription
colStyleColumnStyleThe ColumnStyle to add to the TableLayoutColumnStyleCollection.

Returns: Int32. The position into which the new element was inserted.

Instance member Contains(colStyle)​

Determines whether the TableLayoutColumnStyleCollection contains a specific style.

ParameterTypeDescription
colStyleColumnStyleThe ColumnStyle to locate in the TableLayoutColumnStyleCollection.

Returns: Boolean. true if the ColumnStyle is found in the TableLayoutColumnStyleCollection; otherwise, false.

Instance member IndexOf(colStyle)​

Determines the index of a specific item in the TableLayoutColumnStyleCollection.

ParameterTypeDescription
colStyleColumnStyleThe ColumnStyle to locate in the TableLayoutColumnStyleCollection.

Returns: Int32. The index of colStyle if found in the TableLayoutColumnStyleCollection; otherwise, -1.

Instance member Insert(index, colStyle)​

Inserts a ColumnStyle into the TableLayoutColumnStyleCollection at the specified position.

ParameterTypeDescription
indexInt32The zero-based index at which the ColumnStyle should be inserted.
colStyleColumnStyleThe ColumnStyle to insert into the TableLayoutColumnStyleCollection. The value can be null.

Instance member Remove(colStyle)​

Removes the first occurrence of a specific object from the TableLayoutColumnStyleCollection.

ParameterTypeDescription
colStyleColumnStyleThe ColumnStyle to remove from the TableLayoutColumnStyleCollection. The value can be null.