Table of Contents

Method CreateControl

Namespace
Bonsai.Gui
Assembly
Bonsai.Gui.dll

CreateControl(IServiceProvider, TControlBuilder)

Creates and configures the visual control associated with the specified workflow operator.

protected abstract TControl CreateControl(IServiceProvider provider, TControlBuilder builder)

Parameters

provider IServiceProvider

A service provider object which can be used to obtain visualization, runtime inspection, or other editing services.

builder TControlBuilder

The ExpressionBuilder object used to provide configuration properties to the control.

Returns

TControl

A new instance of the control class associated with the specified workflow operator.