Bind Two Properties to Default Source
  • 29 Jan 2024
  • PDF

Bind Two Properties to Default Source

  • PDF

The content is currently unavailable in Ja - 日本語. You are viewing the default English version.
記事の要約

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:

  1. Drag and drop a tag onto the canvas.

  2. On the Animation panel, change the selected property to Background.

  3. 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.


この記事は役に立ちましたか?