CheckBinding

function CheckBinding(control: TcHmi.Controls.System.baseTcHmiControl, propertyName: string): boolean

The CheckBinding function checks whether a binding to a control property exists. Refer also to the description page for the corresponding API function.

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.

Return value

Type

Description

boolean

Values:

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

NuGet package: Beckhoff.TwinCAT.HMI.Functions

CheckBinding 1:

NuGet packages are available from version 1.12.

CheckBinding 2:

Available from version 1.10