Table of Contents

Method EditComponent

Namespace
Bonsai.Shaders.Configuration.Design
Assembly
Bonsai.Shaders.Design.dll

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 override 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.