TableLayoutStyleCollection.Item[Int32] Vlastnost

Definice

Získá nebo nastaví TableLayoutStyle v zadaném indexu.

public:
 property System::Windows::Forms::TableLayoutStyle ^ default[int] { System::Windows::Forms::TableLayoutStyle ^ get(int index); void set(int index, System::Windows::Forms::TableLayoutStyle ^ value); };
public System.Windows.Forms.TableLayoutStyle this[int index] { get; set; }
member this.Item(int) : System.Windows.Forms.TableLayoutStyle with get, set
Default Public Property Item(index As Integer) As TableLayoutStyle

Parametry

index
Int32

Index založený na nule, který TableLayoutStyle chcete získat nebo nastavit.

Hodnota vlastnosti

A TableLayoutStyle v zadaném indexu.

Výjimky

Hodnota vlastnosti je již přiřazena jinému vlastníkovi. Musíte ho nejdřív odebrat z aktuálního umístění nebo ho naklonovat.

Poznámky

Pouze jeden z odvozených TableLayoutStyle typů, ColumnStyle nebo RowStyle, lze uložit v .TableLayoutStyleCollection

Instanci stylu lze přidružit pouze k jednomu kontejneru.

Platí pro

Viz také