Table of Contents

Class FormDesignerHostContext

Namespace
Alternet.FormDesigner.WinForms
Assembly
Alternet.FormDesigner.v9.dll

Encapsulates designer host together with the actual form designer control and its state.

public class FormDesignerHostContext : IFormDesignerHostContext, IDisposable
Inheritance
FormDesignerHostContext
Implements

Constructors

FormDesignerHostContext(FormDesignerControl, IFormDesignerDataSource)

Initializes a new instance of the FormDesignerHostContext class with specified settings.

Properties

DesignerControl

Gets the view for the root designer.

DesignerHost

Gets IDesignerHost object encapsulated in this host.

DesignerLoader

Gets an object provides load and save designer's content functionality.

EventBindingService

Gets an object provides a service for registering event handlers for component events.

Owner

Gets an actual form designer control.

PrimarySelection

Gets first selected component or control.

ResourceService

Gets an object provides functionality to access resource readers and writers for specific System.Globalization.CultureInfo resource types.

SelectedComponents

Gets or sets a list of selected components or controls.

ServiceContainer

Gets a container for designer-related services.

Source

Gets data source of the designer control.

ToolboxService

Gets an object provides communication between the designer and toolbox.

Methods

CreateComponentSerializationService()
CreateDesignerLoader(IFormDesignerDataSource)
CreateDesignerSerializationService()
CreateEventBindingService(IFormDesignerDataSource)
CreateMenuCommandService()
CreateNameCreationService()
CreateResourceService()
CreateToolboxService()
CreateTypeResolutionService()
CreateUndoEngine()
Dispose()

Disposes FormDesignerHostContext object and releases all associated resources.

Dispose(bool)
GetTypeDiscoveryService()
RaiseComponentChanged(object)
Save()

Saves designer's content.