TableLayoutColumnStyleCollection.Insert(Int32, ColumnStyle) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した位置にあるColumnStyleにTableLayoutColumnStyleCollectionを挿入します。
public:
void Insert(int index, System::Windows::Forms::ColumnStyle ^ columnStyle);
public void Insert(int index, System.Windows.Forms.ColumnStyle columnStyle);
member this.Insert : int * System.Windows.Forms.ColumnStyle -> unit
Public Sub Insert (index As Integer, columnStyle As ColumnStyle)
パラメーター
- index
- Int32
ColumnStyleを挿入する位置を示す 0 から始まるインデックス。
- columnStyle
- ColumnStyle
注釈
Insert メソッドは、現在のTableLayoutPanel コンテナー内のすべてのコントロールにテーブル レイアウトを再適用します。
コレクションに格納されているスタイルの数は、使用可能なメモリによってのみ制限されます。
TableLayoutColumnStyleCollection クラスなどの連続する要素のコレクションでは、挿入ポイントに続く要素は、挿入された要素に合わせて下に移動します。 移動される要素のインデックスも更新されます。