を でアニメートするのに問題StackPanelがありVisualStateManagerます。
VisualStateManager.GoToState()Controlパラメータとしてa を受け入れますStackPanelが、型はUIElement/FrameworkElementです。
VisualStateManager.GoToState()を呼び出すにはどうすればよいStackPanelですか?
を でアニメートするのに問題StackPanelがありVisualStateManagerます。
VisualStateManager.GoToState()Controlパラメータとしてa を受け入れますStackPanelが、型はUIElement/FrameworkElementです。
VisualStateManager.GoToState()を呼び出すにはどうすればよいStackPanelですか?
使用できますVisualStateManager.GoToElementState
この投稿はあなたを助けるかもしれません: WPF using VisualStateManager to animate panel in & out .
編集:
上記のメソッドは WPF 専用であり、Silverlight では使用できません。Silverlight の場合ExtendedVisualStateManager、Blend SDK の が役立つ場合があります。
Microsoft.Expression.Interactionsただし、アセンブリを含める必要があります。