通过


TableLayoutControlCollection(TableLayoutPanel) 构造函数

定义

初始化 TableLayoutControlCollection 类的新实例。

public:
 TableLayoutControlCollection(System::Windows::Forms::TableLayoutPanel ^ container);
public TableLayoutControlCollection(System.Windows.Forms.TableLayoutPanel container);
new System.Windows.Forms.TableLayoutControlCollection : System.Windows.Forms.TableLayoutPanel -> System.Windows.Forms.TableLayoutControlCollection
Public Sub New (container As TableLayoutPanel)

参数

container
TableLayoutPanel

TableLayoutPanel包含控件集合的控件。

例外

.NET 5 及更高版本:参数 containernull.

注解

通常,应用程序程序员不会直接创建类的 TableLayoutControlCollection 实例。 而是由该属性返回对现有 TableLayoutControlCollection 项的 Controls 引用。

适用于

另请参阅