TableLayoutStyleCollection::Item Property (Int32)
.NET Framework (current version)
Gets or sets TableLayoutStyle at the specified index.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property TableLayoutStyle^ default[ int index ] { TableLayoutStyle^ get(int index); void set(int index, TableLayoutStyle^ value); }
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.
| Exception | Condition |
|---|---|
| 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
Available since 2.0
Available since 2.0
Show: