Bind Two Properties to Default Source
- 29 Jan 2024
- Print
- PDF
Bind Two Properties to Default Source
- Updated on 29 Jan 2024
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Purpose: Learn how to bind two properties of a control to its default source.
Task: Add a tag to the canvas to create a PVTextBlock, then bind its background property to its default source.
Steps:
Drag and drop a tag onto the canvas.
On the Animation panel, change the selected property to Background.
Notice that the Background property is automatically bound to the default source. In this case, a map converter must be used to map ranges of tag values to a set of colors. Configure this PVTextBlock in the Use Map Converter to Change Color Dynamically tutorial.
Was this article helpful?