Table of Contents

Method CreateControl

Namespace
Bonsai.Gui
Assembly
Bonsai.Gui.dll

CreateControl(IServiceProvider, ToggleButtonBuilder)

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

protected override CheckBox CreateControl(IServiceProvider provider, ToggleButtonBuilder builder)

Parameters

provider IServiceProvider

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

builder ToggleButtonBuilder

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

Returns

CheckBox

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