Export (0) Print
Expand All

TableLayoutStyleCollection.Item Property

Gets or sets TableLayoutStyle at the specified index.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public TableLayoutStyle this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

The zero-based index of the TableLayoutStyle to get or set.

Property Value

Type: System.Windows.Forms.TableLayoutStyle
A TableLayoutStyle at the specified index.

ExceptionCondition
ArgumentException

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

Only one of the derived TableLayoutStyle types, ColumnStyle or RowStyle, can be stored in a TableLayoutStyleCollection.

An instance of a style can be associated only with a single container.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft