I would like to take an action in my View after raising an event in ViewModel. I found a solution here but it seems quite complicated. Isn't there any built-in mechanism? I've read also about raising RoutedEvent in ViewModel but this approach requires ViewModel to know type of receiver - is it in accoudance with MVVM pattern?
EDIT :
To be more specific, I need to run undermentioned animation from ViewModel:
<Page.Resources>
<Storyboard x:Key="MyStoryboard">
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="MyTextBlock">
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</Page.Resources>
At first I came up with defining eventTrigger in page.triggers, but it requires routedEvent. Do you have any suggestions?