CreateBinding

function CreateBinding(control: TcHmi.Controls.System.baseTcHmiControl, propertyName: string, symbol: TcHmi.Symbol | null): void

The CreateBinding function creates a binding on a control property. Refer also to the description page for the corresponding API function.

Parameter

Name

Type

Description

control

TcHmi.Controls.System.baseTcHmiControl

The control that is to be linked.

propertyName

string

The name of the property on the control.

symbol

Symbol

Binding source

Return value

Type

Description

void

no return value

NuGet package: Beckhoff.TwinCAT.HMI.Functions

CreateBinding 1:

NuGet packages are available from version 1.12.

CreateBinding 2:

Available from version 1.10