ToolboxComponentsCreatingEventArgs.DesignerHost 属性

定义

获取或设置发出创建工具箱组件请求的 IDesignerHost 的实例。Gets or sets an instance of the IDesignerHost that made the request to create toolbox components.

public:
 property System::ComponentModel::Design::IDesignerHost ^ DesignerHost { System::ComponentModel::Design::IDesignerHost ^ get(); };
public System.ComponentModel.Design.IDesignerHost DesignerHost { get; }
member this.DesignerHost : System.ComponentModel.Design.IDesignerHost
Public ReadOnly Property DesignerHost As IDesignerHost

属性值

IDesignerHost

发出创建工具箱组件请求的 IDesignerHost,或者如果未向工具箱项提供设计器宿主,则为 nullThe IDesignerHost that made the request to create toolbox components, or null if no designer host was provided to the toolbox item.

注解

null如果没有为工具箱项提供设计器宿主,则此属性可能为。This property can be null if no designer host was provided to the toolbox item.

适用于

另请参阅