Share via


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.

Ee341446.2159b9a7-a45e-4551-a825-4cc473297c0e(en-us,Expression.40).png

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.

Ee341446.2607e3c4-4e42-4787-bae1-0e6c4d91ce59(en-us,Expression.40).png

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

    You might have to click Show advanced properties Ee341446.de239c9d-42ce-4f5e-83b9-5f9924c0431f(en-us,Expression.40).png 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 Ee341446.e3343378-f63e-4d8f-9847-97c1a58aadc5(en-us,Expression.40).png, 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.

    Ee341446.f3f62ad7-e0fb-4d3c-b807-75ece18f00a3(en-us,Expression.40).png

    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.

See also

Tasks

Bind an object to data
Bind an object to user input or to other internal values

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.