TableLayoutRowStyleCollection.Add(RowStyle) 方法

定义

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

参数

返回

Int32

新元素的插入位置。The position into which the new element was inserted.

注解

Add方法将表布局重新应用于当前容器中的所有控件 TableLayoutPanelThe Add method reapplies the table layout to all the controls in the current TableLayoutPanel container.

集合中存储的样式数量仅受可用内存的限制。The number of styles stored in a collection is limited only by available memory.

适用于

另请参阅