Frame Navigation in a Window Sample

This sample demonstrates how to host a Frame within a Window. Building the Sample Install the Windows Software Development Kit (SDK) and open its build environment command window.

 
 
 
 
 
(0)
8,664 times
Add to favorites
2/1/2011
E-mail Twitter del.icio.us Digg Facebook
' Interaction logic for SDKViewerWindow.xaml
Partial Public Class SDKViewerWindow
    Inherits System.Windows.Window

    Public Sub New()
        InitializeComponent()
    End Sub

    Private Sub homeHyperlink_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
        Me.sdkFrame.Navigate(New Uri("SDKFramePage.xaml", UriKind.Relative))
    End Sub

End Class