I've a ContentControl which binds it Content to a variable
<ContentControl x:Name="MyContentControl" Content="{Binding MyContent}" />
The ContentControl is in my view 'MainPage.xaml' When I click on a Button, the Content of my ContentControl is set to a new View, i.e. 'FirstPage.xaml'. So I have MainPage.xaml, which includes a ContentControl with the Content 'FirstPage.xaml'.
The problem is that I've set a VisualStateManager in my MainPage.xaml and in my FirstPage.xaml.
If I test the VisualState 'Snapped' for both in Xaml-Editor, it works fine. Problem -> MainPage.xaml includes ContentControl = FirstPage.xaml. If MainPage.xaml is Snapped, only the VisualState of MainPage is being applied, but the ContentControl will still be the same (Not VisualState Changing in ContentControl).
So how do I apply the VisualState in a ContentControl?