Table of Contents

Method CreateControl

Namespace
Bonsai.Gui
Assembly
Bonsai.Gui.dll

CreateControl(IServiceProvider, SliderBuilder)

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

protected override Slider CreateControl(IServiceProvider provider, SliderBuilder builder)

Parameters

provider IServiceProvider

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

builder SliderBuilder

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

Returns

Slider

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