Can't find the GoToStateAction Behaviour in Blend 2017

ぐ巨炮叔叔 提交于 2020-01-05 08:52:18

问题


I am trying to use Blend 2017 to do a simple collapse/expand animation for a search panel. I created two states Collapsed and Expanded visual states and recorded the required movement. The problem now is that i can not find the GoStateAction behaviour to control the different visual states. I searched the internet but no clue.

Thank you


回答1:


As of today, none of the many NuGet packages do work, instead, here's the proper way:

Install Blend for Visual Studio SDK for .NET using Visual Studio Installer:

Alternatively, the Assets window in Blend will offer to do it:

(not visible here since it's already done, but you can see that everything is here)

And no more funny surprises like Interaction.Behaviors works but not the behaviors inside it, or that it has been built with an older SDK version :)




回答2:


I found the solution. I just installed the Nuget package for "Microsoft.SDK.Expression.Blend". For some reason Blend 2017 SDK do not install with Visual Studio 2017.



来源:https://stackoverflow.com/questions/46469674/cant-find-the-gotostateaction-behaviour-in-blend-2017

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!