Determine if an object is bound to data

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.


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.


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 noteTip

    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.

    tip noteTip

    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

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