DesignerActionService Constructor (IServiceProvider^)

 

Initializes a new instance of the DesignerActionService class.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public:
DesignerActionService(
	IServiceProvider^ serviceProvider
)

Parameters

serviceProvider
Type: System::IServiceProvider^

The service provider for the current design-time environment.

A service provider is necessary for monitoring selection and component changes. It is expected to support the IDesignerHost and IComponentChangeService types. The DesignerActionService class uses an internal table to manage components and their associated DesignerActionList smart tags.

Typically, component developers will not need to create an instance of this class; instead, they can acquire an existing instance through a call to the Component::GetService method.

.NET Framework
Available since 2.0
Return to top
Show: