@ -37,7 +37,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
x:Class="${StandardNamespace}.${ FileNameWithoutExtension}"
x:Class="${FileNameWithoutExtension}"
x:TypeArguments="sys:String"
x:TypeArguments="sys:String"
Title="${FileNameWithoutExtension}">
Title="${FileNameWithoutExtension}">
<Grid>
<Grid>
@ -57,40 +57,37 @@ Imports System.Windows.Media.Imaging
Imports System.Windows.Navigation
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Imports System.Windows.Shapes
Namespace ${StandardNamespace}
''' <summary>
''' <summary>
''' Interaction logic for ${FileName}
''' Interaction logic for ${FileName}
''' </summary>
''' </summary>
Public Partial Class ${FileNameWithoutExtension}
Public Partial Class ${FileNameWithoutExtension}
Inherits PageFunction(Of String)
Inherits PageFunction(Of String)
Public Sub New()
Public Sub New()
InitializeComponent()
InitializeComponent()
End Sub
End Sub
' The OnLoaded handler can be run automatically when the class is loaded. To use it, add Loaded="OnLoaded" to the attributes of the root element of the .xaml file and uncomment the following line.
' The OnLoaded handler can be run automatically when the class is loaded. To use it, add Loaded="OnLoaded" to the attributes of the root element of the .xaml file and uncomment the following line.
' Private Sub OnLoaded(sender As Object, e As RoutedEventArgs)
' Private Sub OnLoaded(sender As Object, e As RoutedEventArgs)
' End Sub
' End Sub
'
'
' Sample Finish Handler
' Sample Finish Handler
' Private Sub OnClickDone(sender As Object, e As RoutedEventArgs)
' Private Sub OnClickDone(sender As Object, e As RoutedEventArgs)
' OnFinish(New ReturnEventArgs(Of String)("The return value"))
' OnFinish(New ReturnEventArgs(Of String)("The return value"))
' End Sub
' End Sub
' To launch this page function, put this code in the launching page.
' To launch this page function, put this code in the launching page.
' Dim pageFunction As New ${FileNameWithoutExtension}()
' Dim pageFunction As New ${FileNameWithoutExtension}()
' pageFunction.[Return] += New ReturnEventHandler(Of String)(OnFileNameWithoutExtensionReturned)
' pageFunction.[Return] += New ReturnEventHandler(Of String)(OnFileNameWithoutExtensionReturned)
' _NavWin.Navigate(pageFunction)
' _NavWin.Navigate(pageFunction)
'
'
' This handler goes in the launching page.
' This handler goes in the launching page.
' Public Sub On${FileNameWithoutExtension}Returned(sender As Object, e As ReturnEventArgs(Of String))
' Public Sub On${FileNameWithoutExtension}Returned(sender As Object, e As ReturnEventArgs(Of String))
' Console.WriteLine("${FileNameWithoutExtension} returned: " & e.Result)
' Console.WriteLine("${FileNameWithoutExtension} returned: " & e.Result)
' End Sub
' End Sub
End Class]]></File>
End Class
End Namespace]]></File>
</Files>
</Files>
<AdditionalOptions/>
<AdditionalOptions/>