TableLayoutStyleCollection.Add(TableLayoutStyle) Método

Definição

Adiciona um novo TableLayoutStyle ao final da coleção atual.

public:
 int Add(System::Windows::Forms::TableLayoutStyle ^ style);
public int Add(System.Windows.Forms.TableLayoutStyle style);
member this.Add : System.Windows.Forms.TableLayoutStyle -> int
Public Function Add (style As TableLayoutStyle) As Integer

Parâmetros

Devoluções

A posição em que o novo elemento foi inserido.

Exceções

style já está atribuído a outro proprietário. Deves primeiro removê-lo da sua localização atual ou cloná-lo.

Observações

O Add método reaplica a disposição da tabela a todos os controlos no contentor atual TableLayoutPanel .

O número de estilos armazenados numa coleção é limitado apenas pela memória disponível.

Aplica-se a