TableLayoutColumnStyleCollection.Add(ColumnStyle) メソッド

定義

TableLayoutColumnStyleCollection に項目を追加します。

public:
 int Add(System::Windows::Forms::ColumnStyle ^ columnStyle);
public int Add (System.Windows.Forms.ColumnStyle columnStyle);
override this.Add : System.Windows.Forms.ColumnStyle -> int
Public Function Add (columnStyle As ColumnStyle) As Integer

パラメーター

戻り値

Int32

新しい要素が挿入された位置。

注釈

このメソッドは Add 、テーブル レイアウトを現在 TableLayoutPanel のコンテナー内のすべてのコントロールに再び適用します。

コレクションに格納されるスタイルの数は、使用可能なメモリによってのみ制限されます。

適用対象

こちらもご覧ください