FIX: Visual state problem when you unload and reload a custom control in an SWE application in WEC 2013

This article describes an issue in which the previous visual state of a custom control is lost when you unload and then reload the control in a Microsoft Silverlight for Windows Embedded (SWE) application in Windows Embedded Compact 2013. An update is available to fix this issue. Before you install this update, all previously issued updates for this product must be installed.

Symptoms

You have an SWE application that has a custom control and buttons to do the following operations in Windows Embedded Compact 2013:

  • Unload control

  • Reload control

  • Set state


When you run the application and then select the Set state button, the custom control visual state changes (not changing to the default state). If you select the Unload control button and then select Reload control, the visual tree (visual) state is the default state, and the previous visual state is lost.

Resolution

Software update information

Windows Embedded Compact 2013 Monthly Update (September 2015) is now available from Microsoft. To download this Windows Embedded Compact 2013 monthly update, go to Microsoft OEM Online or MyOEM.

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, select Clean Solution, and then select Build Solution.

  • On the Build menu, select Rebuild Solution.

You don't have to restart the computer after you apply this software update.

Update replacement information

This update doesn't replace any other updates.

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it's converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Files that are included in this update package

File name

File size

Date

Time

Path

Xamlruntimecore_dt.dll

2,415,288

28-Sep-2015

10:15

Public\Common\Oak\Bin\I386

Xamlruntimecore.map

5,329,915

28-Sep-2015

10:24

Public\Common\Oak\Target\X86\Checked

Xamlruntimecore.rel

5,786,969

28-Sep-2015

10:24

Public\Common\Oak\Target\X86\Checked

Xamlruntimecore.dll

6,316,032

28-Sep-2015

10:24

Public\Common\Oak\Target\X86\Checked

Xamlruntimecore.map

1,811,161

28-Sep-2015

10:24

Public\Common\Oak\Target\X86\Retail

Xamlruntimecore.rel

1,844,013

28-Sep-2015

10:24

Public\Common\Oak\Target\X86\Retail

Xamlruntimecore.dll

2,879,488

28-Sep-2015

10:24

Public\Common\Oak\Target\X86\Retail

Xamlruntimecore.map

5,372,914

28-Sep-2015

10:23

Public\Common\Oak\Target\X86\Debug

Xamlruntimecore.rel

4,078,898

28-Sep-2015

10:23

Public\Common\Oak\Target\X86\Debug

Xamlruntimecore.dll

7,512,064

28-Sep-2015

10:23

Public\Common\Oak\Target\X86\Debug

Xamlruntimecore.map

14,901,720

28-Sep-2015

10:24

Public\Common\Oak\Target\Armv7\Checked

Xamlruntimecore.rel

2,826,475

28-Sep-2015

10:24

Public\Common\Oak\Target\Armv7\Checked

Xamlruntimecore.dll

6,107,136

28-Sep-2015

10:24

Public\Common\Oak\Target\Armv7\Checked

Xamlruntimecore.map

3,969,113

28-Sep-2015

10:24

Public\Common\Oak\Target\Armv7\Retail

Xamlruntimecore.rel

1,638,693

28-Sep-2015

10:24

Public\Common\Oak\Target\Armv7\Retail

Xamlruntimecore.dll

2,789,376

28-Sep-2015

10:24

Public\Common\Oak\Target\Armv7\Retail

Xamlruntimecore.map

20,734,862

28-Sep-2015

10:23

Public\Common\Oak\Target\Armv7\Debug

Xamlruntimecore.rel

2,572,783

28-Sep-2015

10:23

Public\Common\Oak\Target\Armv7\Debug

Xamlruntimecore.dll

7,462,912

28-Sep-2015

10:23

Public\Common\Oak\Target\Armv7\Debug

Xamlruntimecore_dt.dll

2,415,288

28-Sep-2015

10:15

Program files\Microsoft visual studio 11.0\Vc\Vcwizards\Windowsembeddedsilverlighttools


References

Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×