Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Manufacturing Execution System 2023 R2

Bind ​.NET control properties to attributes or element references

Bind ​.NET control properties to attributes or element references

  • Last UpdatedNov 26, 2024
  • 2 minute read

You can bind the properties of an embedded .NET control to attributes or element references. By binding properties of an embedded .NET control, you can use attributes and element references as source and consumer of data for the .NET control properties. You do this with the Data Binding animation.

The System Platform Edit Animations dialog showing the list of control properties that you can bind.

The Data Binding table contains the following information:

Name

The name of the .NET control property.

Type

The .NET data type of the property.

Value

The default value of the .NET control property.

Direction

Indicates if the property is read/write or just read-only.

Embedded Image (65% Scaling) (LIVE)

Read/write property

Embedded Image (65% Scaling) (LIVE)

Read-only property

Embedded Image (65% Scaling) (LIVE)

Write-only property

Reference

The attribute or element reference the property is bound to the property.

Note: You cannot remove the Data Binding animation.

Bind a .NET control property with an attribute or element reference

  1. Double-click the embedded .NET control on the canvas.

    The Edit Animations dialog box appears and the Data Binding animation is selected by default.

  2. Locate the .NET control property that you want to bind with an attribute or element reference.

  3. Click the Reference field and click it again to enable it.

  4. Do one of the following:

    • Type an attribute or element reference.

    • Browse for an attribute or element reference by clicking the Browse button.

  5. Repeat above for any other properties you want to bind.

  6. Click OK.

TitleResults for “How to create a CRG?”Also Available in