CheckBindingEx

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

The CheckBindingEx function checks whether a binding of a certain symbol to a control property exists.

Parameter

Name

Type

Description

control

TcHmi.Controls.System.baseTcHmiControl

The control containing the property to be checked.

propertyName

string

The name of the control property to be checked.

symbol

Symbol

The symbol for which the binding to a control property is to be checked.

Return value

Type

Description

boolean

Values:

  • true: A binding of the symbol to the control property exists.
  • false: A binding of the symbol to the control property does not exist.

NuGet package: Beckhoff.TwinCAT.HMI.Functions

CheckBindingEx 1:

NuGet packages are available from version 1.12.

CheckBindingEx 2:

Available from version 1.10