im developing a silverlight 3 beta navigation app, so I went with a little modification to the MVVM template :) (all-in-one viewing model) using a prism, etc.
Question: How to switch to another "NavigationPage" in view mode
Now, to shorten the long story, the viewmodel is declared as a page resource.
<navigation:Page.Resources>
<mvvm:LoginModel x:Key="DataSource" d:IsDataSource="True"></mvvm:LoginModel>
</navigation:Page.Resources>
And then the command is used to connect everything using viewmodel
<Button x:Name="LoginButton" Width="100" Margin="8" Content="Login"
prism:Click.Command="{Binding LoginCommand}"/>
Now, if I try to navigate anywhere in the viewmodel, so
this.NavigationService.Navigate(new Uri("/Views/About.xaml", UriKind.Relative));
Navigationservice null, , helix 0.3 , sl2-, , , , INavigationAware viewmodel, NavigationContext, , , helix, .
SL3 , , , . , sl3.
- SL3, helix INavigationAware?