TableLayoutRowStyleCollection.Add(RowStyle) Metod

Definition

Lägger till en ny RowStyle i TableLayoutRowStyleCollection.

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

Parametrar

rowStyle
RowStyle

Att RowStyle lägga till i TableLayoutRowStyleCollection.

Returer

Den position som det nya elementet infogades i.

Kommentarer

Metoden Add återutser tabelllayouten till alla kontroller i den aktuella TableLayoutPanel containern.

Antalet format som lagras i en samling begränsas endast av tillgängligt minne.

Gäller för

Se även