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 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.
|
|
Read/write property |
|
|
|
Read-only property |
|
|
|
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
-
Double-click the embedded .NET control on the canvas.
The Edit Animations dialog box appears and the Data Binding animation is selected by default.
-
Locate the .NET control property that you want to bind with an attribute or element reference.
-
Click the Reference field and click it again to enable it.
-
Do one of the following:
-
Type an attribute or element reference.
-
Browse for an attribute or element reference by clicking the Browse button.
-
-
Repeat above for any other properties you want to bind.
-
Click OK.


