Example: Use data binding in the Utilization control
- Last UpdatedNov 26, 2024
- 1 minute read
Install and embed the Utilization control into a symbol as described in:
In this example, the boolean symbol custom property URE controls whether the Utilization control can be refreshed.
Use data binding in the Utilization control
-
Create a Boolean custom property and rename it URE.
-
In the System Platform Industrial Graphics Editor, double-click the embedded Utilization control.
The Edit Animations dialog appears.
-
From the list of properties in the Data Binding configuration area, locate the UtilRefreshEnabled property.
-
Click the Reference field of the UtilRefreshEnabled property and click it again to enable it.
-
Click the field browse button, then browse to and select the URE custom property and click OK.
The UtilRefreshEnabled property is now assigned to the element reference URE.

-
To save the change and close the dialog, click OK.
-
Place a button on the canvas and configure it with a Boolean pushbutton animation that toggles the custom property URE.
-
Save and close the symbol.
-
Embed the symbol in a managed InTouch application and test the data binding by clicking on the button in WindowViewer. When you do so, the ability for the Utilization control to refresh is toggled.