Export (0) Print
Expand All

Determine if an object is bound to data

In the Data panel, you can determine if items in a data source are bound to objects on the artboard because a yellow border appears around the data source when you select the object or any parent object that shares the same data context.

2159b9a7-a45e-4551-a825-4cc473297c0e

In the Properties panel, you can determine if an object on the artboard is bound to data because a yellow border appears around the property values that are bound.

2607e3c4-4e42-4787-bae1-0e6c4d91ce59

You can use the following procedure to determine which data source and data item an object is bound to.

To determine the data binding of an object

  1. Select an object on the artboard or in the Objects and Timeline panel.

  2. In the Properties panel, look for a yellow bounding box around a property value to indicate that the property is bound to data. Properties that are commonly bound to data include the ItemsSource property of a ListBox control, the Content property of content controls, and the Text property of text controls.

    Tip Tip

    You might have to click Show advanced properties de239c9d-42ce-4f5e-83b9-5f9924c0431f to expand the categories in the Properties panel to view all the properties. If you do not see a yellow bounding box around any property value, the object is not bound to data.

  3. To see which item of data the property is bound to, click Advanced options e3343378-f63e-4d8f-9847-97c1a58aadc5, and then click Data Binding.

    In the Create Data Binding dialog box, on the Explicit Data Context tab, the name of the data item to which the property is bound is highlighted.

    f3f62ad7-e0fb-4d3c-b807-75ece18f00a3
    Tip Tip

    If you want to remove a data binding, you can reset the property that is bound.

    For more information, see Reset a property to its default value.

Show:
© 2014 Microsoft