FIX: Cannot display all UI elements correctly in a SWE application for Windows Embedded Compact 7

Applies to: Windows Embedded Compact 7


Assume that you have a Microsoft Silverlight for Windows Embedded (SWE) application on a Windows Embedded Compact 7-based device. When you assign a TemplateBinding markup extension to a custom PropertyBag dependency property on a custom control, the application cannot display all UI elements correctly. Additionally, you receive the following error message in the debug output:
[XR] ObjectFactory::WarnForDataBindingFailure - DataBinding Warning -- Binding failure, Control=?Control, Target property=TestContent, Binding Path=BoundPropertyBag, HRESULT=0x80070057
[XR] XRVisualHost::PaintElementTree - Failed to Draw the element tree in HWND 0xfe170002. Error code 0x80070057

More Information

Software update information

Download information

The Windows Embedded Compact 7 Monthly Update (May 2014) is now available from Microsoft. To download this Windows Embedded Compact 7 monthly update, go to the following Microsoft Download Center website:

The kind of processor that each file applies to is visible in the name of each file in the "File information" section.


This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates