Skip to main content

Databinding UI

Each bindable property have a button next to the property that allows to define a binding.

drawing-4-1682585252.pngdrawing-4-1706144761.png

Following items have bindable properties: Behaviors, Widgets, Behavior, Building and BlocksControls

When unbound, clicking the button shows the databinding dialog that allows to link the property to a data source.

 

The binding dialog shows all matching datatypes in the editor:

drawing-4-1682585270.pngdrawing-4-1706144778.png

WhenData bound,items displayed in the [ Define Data Binding ] dialog are normally displayed in definition file order. By checking the [ Sort Alphabetically ] checkbox in the dialog, data items are displayed in alphabetical order.

drawing-4-1706144800.png

The order in which the currently used items are displayed can also be changed in the Live Preview panel, which is displayed via [ View > Live Preview ] in the menu bar, by using the [ Sort Alphabetically ] checkbox.

drawing-4-1706144815.png

Buttons for bound property items are displayed in blue (white for unbound buttons). To remove the bound setting, click on the button willto breakdisplay a dialog box, then click on the link[ betweenUnbind ] button at the propertybottom andof the datadialog source (see hover icon in the image below) allowing the next click to bind the property again.

The buttons indicate if a binding is established or not:box.

drawing-4-1682585290.pngdrawing-4-1705978136.png