This property returns the type of binding. The valid values are:
- 0 - The binding source is empty
- 1 - The binding source is another box instance
- 2 - The binding source is an object instance
- 3 - The binding source is a collection instance
- 4 - The binding source is an XML data tree
function onSample()
{
var box = scene.getBoxById("myBox");
if (box)
{
var binding = box.getDataBinding("myBinding");
if (binding)
{
shell.print("Bind type = " + binding.bindType);
}
}
}