TableLayoutStyleCollection

Wisej.Web.TableLayoutStyleCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

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

public class TableLayoutStyleCollection : IList, ICollection, IEnumerable

Properties

Count

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

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

Add(style)

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

Parameter
Type
Description

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.

Clear()

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

RemoveAt(index)

Removes the style at the specified index of the collection.

Parameter
Type
Description

index

The zero-based index of the TableLayoutStyle to be removed.

Inherited By

Name
Description

A collection that stores ColumnStyle objects.

A collection that stores RowStyle objects.

Last updated

Was this helpful?