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.

8,667 times
Add to favorites
E-mail Twitter Digg Facebook
' Interaction logic for SDKViewerWindow.xaml
Partial Public Class SDKViewerWindow
    Inherits System.Windows.Window

    Public Sub New()
    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