How do I reuse VisualState, VisualStateGroup and VsualStateManager in shared resource?
问题 I created many buttons that it use the same VisualStateManager, VisualStateGroup and VisualState in my Windows Phone project. Then, I want to reuse all of them as the shared resources as the other type of an element such as margin, colors etc. But I found only the way to reuse storyboard that it would be better if I can reuse all of the VisualState. Is there solution of the reusable VisualState? 回答1: The solution I found I tested on Windows 10 UWP app, I have tested several options like