TableLayoutStyleCollection.Item[Int32] プロパティ

定義

指定したインデックスにある TableLayoutStyle を取得または設定します。

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

パラメーター

index
Int32

取得または設定する TableLayoutStyle の 0 から始まるインデックス番号。

プロパティ値

指定したインデックスにある TableLayoutStyle

例外

プロパティ値が他の所有側オブジェクトによって既に割り当てられています。 最初に現在の場所から削除するか、複製を作成しなければなりません。

注釈

に格納できるのは、ColumnStyle派生TableLayoutStyle型 (または RowStyle) の TableLayoutStyleCollection1 つだけです。

スタイルのインスタンスは、1 つのコンテナーにのみ関連付けることができます。

適用対象

こちらもご覧ください