Skip to main content
Version: 3.5

TableLayoutStyleCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

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

public class TableLayoutStyleCollection : IList, ICollection, IEnumerable

Properties

Instance memberCount

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

Instance memberItem(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 memberAdd(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 memberClear()

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

Instance memberRemoveAt(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.