CreateBinding

function CreateBinding(expression: string, propertyName: string, control: TcHmi.Controls.System.TcHmiControl): void

The function CreateBinding creates a binding between a symbol and a property of a control.

Parameter

Name

Type

Description

expression

string

The symbol expression with which a binding is to be created.

propertyName

string

The name of the property of the control with which a binding is to be created.

control

TcHmi.Controls.System.TcHmiControl

The control with which a binding is to be created.

Return value

Type

Description

void

No return value.

NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Functions

Available: from version 12.8.0

Usage: TC3 Plastic Application HMI projects