0
我嘗試遷移SL 4應用SL5和編譯應用程序時,得到了以下錯誤:什麼是SL 5中GoToStateAction的替代?
Error 17 The tag 'GoToStateAction' does not exist in XML namespace
'http://schemas.microsoft.com/expression/2010/interactions'.
Error 31 The type 'GoToStateAction' from assembly 'Microsoft.Expression.Interactions' is built with an older version of the Blend SDK, and is not supported in a Silverlight 5 project.
此錯誤的XAML是: 的xmlns:I =「http://schemas.microsoft.com /表達/ 2010 /互動」 的xmlns:EI = 「http://schemas.microsoft.com/expression/2010/interactions」
<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseEnter">
<ei:GoToStateAction StateName="ShowStatus"/>
</i:EventTrigger>
<i:EventTrigger EventName="MouseLeave">
<ei:GoToStateAction StateName="HideStatus"/>
</i:EventTrigger>
</i:Interaction.Triggers>
如何解決這個問題呢?