TableLayoutRowStyleCollection.Add(RowStyle) Método

Definición

Agrega un nuevo objeto RowStyle a la colección 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

Parámetros

rowStyle
RowStyle

RowStyle que se va a agregar a TableLayoutRowStyleCollection.

Devoluciones

Int32

Posición en la que se insertó el nuevo elemento.

Comentarios

El Add método vuelve a aplicar el diseño de tabla a todos los controles del contenedor actual TableLayoutPanel .

El número de estilos almacenados en una colección solo está limitado por la memoria disponible.

Se aplica a

Consulte también