DesignSurfaceExtension.OnDesignerCreated Method

Definition

Overloads

OnDesignerCreated(IDesigner)
Obsolete.

This method is called when a new designer is created.

OnDesignerCreated(IComponent, IDesigner, Boolean)

This method is called when a new designer is created.

OnDesignerCreated(IDesigner)

Caution

Override the version of OnDesignerCreated that takes a component, designer and boolean flag

This method is called when a new designer is created.

public:
 virtual void OnDesignerCreated(System::ComponentModel::Design::IDesigner ^ designer);
[System.Obsolete("Override the version of OnDesignerCreated that takes a component, designer and boolean flag")]
public virtual void OnDesignerCreated (System.ComponentModel.Design.IDesigner designer);
[<System.Obsolete("Override the version of OnDesignerCreated that takes a component, designer and boolean flag")>]
abstract member OnDesignerCreated : System.ComponentModel.Design.IDesigner -> unit
override this.OnDesignerCreated : System.ComponentModel.Design.IDesigner -> unit
Public Overridable Sub OnDesignerCreated (designer As IDesigner)

Parameters

designer
IDesigner

The designer that has been created.

Attributes

Applies to

OnDesignerCreated(IComponent, IDesigner, Boolean)

This method is called when a new designer is created.

public:
 virtual void OnDesignerCreated(System::ComponentModel::IComponent ^ component, System::ComponentModel::Design::IDesigner ^ designer, bool rootDesigner);
public virtual void OnDesignerCreated (System.ComponentModel.IComponent component, System.ComponentModel.Design.IDesigner designer, bool rootDesigner);
abstract member OnDesignerCreated : System.ComponentModel.IComponent * System.ComponentModel.Design.IDesigner * bool -> unit
override this.OnDesignerCreated : System.ComponentModel.IComponent * System.ComponentModel.Design.IDesigner * bool -> unit
Public Overridable Sub OnDesignerCreated (component As IComponent, designer As IDesigner, rootDesigner As Boolean)

Parameters

component
IComponent

The component that has been created.

designer
IDesigner

The designer that has been created.

rootDesigner
Boolean

The root designer.

Exceptions

designer is null.

Applies to