I am creating simple app on Silverlight 4. In folder of View I have 2(Silverlight Pages) also in ViewModel I have 2 ViewModels. In Silverligh project I have UserControl that hold one of page. I need simple example of using navigation. For example I click on button, call some method in ViewModel and this method redirect me on another Silverligh Page.Please help me, I'm suffering 3 day, and I found only very hard examples, but I bealive in simple.
<UserControl x:Class="WebServerApp.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:pagescol="clr-namespace:SilverlightServerLib.View;assembly=SilverlightServerLib"
Width="Auto" Height="Auto">
<Grid x:Name="LayoutRoot" Background="White">
<pagescol:SettingsPage/>
</Grid>
</UserControl>
That was a UserControll that hold first Page, I need navigate to another Page. Thank You very much!