void DestroyComponent(IComponent component)
Destroys the specified component and removes it from the designer container.
IComponent RootComponent
Gets the instance of the base class used as the root component for the current design.
DesignerTransactionCloseEventHandler TransactionClosed
Adds an event handler for the E:System.ComponentModel.Design.IDesignerHost.TransactionClosed event.
EventHandler TransactionOpened
Adds an event handler for the E:System.ComponentModel.Design.IDesignerHost.TransactionOpened event.
EventHandler Activated
Occurs when this designer is activated.
bool Loading
Gets a value indicating whether the designer host is currently loading the document.
Provides functionality for containers. Containers are objects that logically contain zero or more com...
delegate void DesignerTransactionCloseEventHandler(object sender, DesignerTransactionCloseEventArgs e)
Represents the method that handles the E:System.ComponentModel.Design.IDesignerHost....
string RootComponentClassName
Gets the fully qualified name of the class being designed.
delegate void EventHandler(object sender, EventArgs e)
Represents the method that will handle an event that has no event data.
Provides a container for services.
void Activate()
Activates the designer that this host is hosting.
bool InTransaction
Gets a value indicating whether the designer host is currently in a transaction.
Provides functionality required by all components.
Represents type declarations: class types, interface types, array types, value types,...
IDesigner GetDesigner(IComponent component)
Gets the designer instance that contains the specified component.
IComponent CreateComponent(Type componentClass)
Creates a component of the specified type and adds it to the design document.
Defines a mechanism for retrieving a service object; that is, an object that provides custom support ...
EventHandler Deactivated
Occurs when this designer is deactivated.
Type GetType(string typeName)
Gets an instance of the specified, fully qualified type name.
Provides a way to group a series of design-time actions to improve performance and enable most types ...
Provides an interface for managing designer transactions and components.
DesignerTransactionCloseEventHandler TransactionClosing
Adds an event handler for the E:System.ComponentModel.Design.IDesignerHost.TransactionClosing event.
Encapsulates zero or more components.
DesignerTransaction CreateTransaction()
Creates a T:System.ComponentModel.Design.DesignerTransaction that can encapsulate event sequences to ...
EventHandler LoadComplete
Occurs when this designer completes loading its document.
string TransactionDescription
Gets the description of the current transaction.
EventHandler TransactionOpening
Adds an event handler for the E:System.ComponentModel.Design.IDesignerHost.TransactionOpening event.
Provides the basic framework for building a custom designer.