Table of Contents

Class WorkflowComponentEditor

Namespace
Bonsai.Design
Assembly
Bonsai.Design.dll

Provides the abstract base class for a custom workflow component editor.

public abstract class WorkflowComponentEditor : ComponentEditor
Inheritance
WorkflowComponentEditor
Derived
Inherited Members

Methods

EditComponent(ITypeDescriptorContext, object)

Edits the component and returns a value indicating whether the component was modified based upon a given context.

public override bool EditComponent(ITypeDescriptorContext context, object component)

Parameters

context ITypeDescriptorContext

An optional context object that can be used to obtain further information about the edit.

component object

The component to be edited.

Returns

bool

true if the component was modified; otherwise, false.

EditComponent(ITypeDescriptorContext, object, IServiceProvider, IWin32Window)

Edits the component and returns a value indicating whether the component was modified using the specified context and a parent window handle.

public abstract bool EditComponent(ITypeDescriptorContext context, object component, IServiceProvider provider, IWin32Window owner)

Parameters

context ITypeDescriptorContext

An optional context object that can be used to obtain further information about the edit.

component object

The component to be edited.

provider IServiceProvider

A service provider that this editor can use to obtain services.

owner IWin32Window

The window handle which contains any editor dialogs.

Returns

bool

true if the component was modified; otherwise, false.

EditComponent(object, IServiceProvider, IWin32Window)

Edits the component and returns a value indicating whether the component was modified using the specified service provider and a parent window handle.

public bool EditComponent(object component, IServiceProvider provider, IWin32Window owner)

Parameters

component object

The component to be edited.

provider IServiceProvider

A service provider that this editor can use to obtain services.

owner IWin32Window

The window handle which contains any editor dialogs.

Returns

bool

true if the component was modified; otherwise, false.