What I have: A style resource which contains animation definitions and a view definition, a viewmodel which contains Data, Properties and ICommands.
Currently the application can call VM functions via Button Clicks (using ICommand), View with binding to VM Properties & it is able to run animations from a button.click event trigger.
What I am looking to do; If a style is applied to a listbox(for example) How do I trigger animations from the VM directly? I.E. if some property on the data changes, is it possible to cause an animation to run? I know I could do this with a UserControl, but I'm trying to seperate my program into more clearly defined Views and Viewmodels. I don't want Code in my View, and I don't want animations in my VM.