Share via


TableLayoutRowStyleCollection.Add(RowStyle) メソッド

定義

新しい RowStyleTableLayoutRowStyleCollection に追加します。

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

パラメーター

rowStyle
RowStyle

RowStyle に追加する TableLayoutRowStyleCollection

戻り値

Int32

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

注釈

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

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

適用対象

こちらもご覧ください