FIX: Setting DataContext to null resets two-way binding in the SWE application in Windows Embedded Compact 7

Applies to: Windows Embedded Compact 7

Symptoms


Assume that you have a Microsoft Silverlight for Windows Embedded (SWE) application on a Windows Embedded Compact 7-based device. You set the SelectedIndex binding of a ListBox to -1 and the DataContext to null. When you set the same object as DataContext again, the selection is lost. The expect result is that setting the DataContext to null should not trigger any changes on the DataContext properties.

NoteSelectedItem bound property is set to null when the DataContext is set to null.

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.

Prerequisites

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.

Status


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

References


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