TableLayoutRowStyleCollection.Add(RowStyle) Método

Definición

Agrega un nuevo RowStyle objeto a .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

que RowStyle se va a agregar a .TableLayoutRowStyleCollection

Devoluciones

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