Frame Navigation Demo Window : Frame « Windows Presentation Foundation « C# / C Sharp






Frame Navigation Demo Window

       

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        Title="Frame Navigation Demo" FontSize="24">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>

        <Frame Grid.Row="0" Background="Aqua"
               Source="Page1.xaml" />

        <Frame Grid.Row="1" Background="Pink"
               Source="Page2.xaml" />

    </Grid>
</Window>
        

   
    
    
    
    
    
    
  








Related examples in the same category

1.Use Frame to Load another Xaml file
2.Xaml frame on a TabXaml frame on a Tab
3.Use a Frame control to navigate to Web pages and a Extensible Application Markup Language (XAML) page.Use a Frame control to navigate to Web pages and a Extensible Application Markup Language (XAML) page.
4.Put a Frame tag onto a Window to host a page
5.Navigate Frame to a xaml document
6.Navigate Frame to a URLNavigate Frame to a URL