Editare

Partajați prin


IDesignerHost.GetDesigner(IComponent) Method

Definition

Gets the designer instance that contains the specified component.

public:
 System::ComponentModel::Design::IDesigner ^ GetDesigner(System::ComponentModel::IComponent ^ component);
public System.ComponentModel.Design.IDesigner GetDesigner (System.ComponentModel.IComponent component);
public System.ComponentModel.Design.IDesigner? GetDesigner (System.ComponentModel.IComponent component);
abstract member GetDesigner : System.ComponentModel.IComponent -> System.ComponentModel.Design.IDesigner
Public Function GetDesigner (component As IComponent) As IDesigner

Parameters

component
IComponent

The IComponent to retrieve the designer for.

Returns

An IDesigner, or null if there is no designer for the specified component.

Applies to