问题
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