TableLayoutColumnStyleCollection.Add(ColumnStyle) Methode

Definitie

Voegt een item toe aan de 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

Parameters

columnStyle
ColumnStyle

De ColumnStyle toe te voegen aan de TableLayoutColumnStyleCollection.

Retouren

De positie waarin het nieuwe element is ingevoegd.

Opmerkingen

De Add methode past de tabelindeling opnieuw toe op alle besturingselementen in de huidige TableLayoutPanel container.

Het aantal stijlen dat in een verzameling is opgeslagen, wordt alleen beperkt door het beschikbare geheugen.

Van toepassing op

Zie ook