Skip to main content
Version: 4.1

TableLayoutStyleCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Implements the basic functionality for a collection of table layout styles.

public class TableLayoutStyleCollection : IList, ICollection, IEnumerable

Properties​

Instance member Count​

Int32: Gets the number of styles actually contained in the TableLayoutStyleCollection.

Instance member Item(index)​

TableLayoutStyle: Returns or sets TableLayoutStyle at the specified index.

Throws:

  • ArgumentException The property value is already assigned to another owner. You must first remove it from its current location or clone it.

Methods​

Instance member Add(style)​

Adds a new TableLayoutStyle to the end of the current collection.

ParameterTypeDescription
styleTableLayoutStyleThe TableLayoutStyle to add to the TableLayoutStyleCollection.

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

Throws:

  • ArgumentException style is already assigned to another owner. You must first remove it from its current location or clone it.

Instance member Clear()​

Disassociates the collection from its associated TableLayoutPanel and empties the collection.

Instance member RemoveAt(index)​

Removes the style at the specified index of the collection.

ParameterTypeDescription
indexInt32The zero-based index of the TableLayoutStyle to be removed.

Inherited By​

NameDescription
TableLayoutColumnStyleCollectionA collection that stores ColumnStyle objects.
TableLayoutRowStyleCollectionA collection that stores RowStyle objects.