VisualStateManager Winrt

Topics: Getting Started, UI Architecture
Dec 21, 2012 at 10:02 PM

i don´t understand how to use the VisualStateManager with Caliburn Micro.

i have a Group in XAML:



<VisualStateManager.VisualStateGroups

 <!-- Visual states reflect the application's view state -->
            <VisualStateGroup x:Name="ApplicationViewStates"

And now i want to get CurrentStateChanged Event in the ViewModel

it would be in the Codebehind CurrentStateChanged="VisualStateChanged">

But what is this in Caliburn.Micro ?

Dec 21, 2012 at 10:12 PM
Edited Dec 21, 2012 at 10:14 PM

This might help

http://compiledexperience.com/blog/posts/visual-state-manager-and-coroutines

this assumes you place the VisualStateManager somewhere in your xaml.

I have don't much with WinRT yet but on the Phone side its suggested not to do globals in the App.xaml (at least in 7.1; 8.0 might be a different case now the phones have the processing power, they should have had in the beginning and combined with native ngen.)

Morgan