An Avalon PageFunction.
]]>
/// Interaction logic for ${FileName}
///
public partial class ${FileNameWithoutExtension} : PageFunction
{
// 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 void OnLoaded(object sender, RoutedEventArgs e) {}
//
// Sample Finish Handler
// private void OnClickDone(object sender, RoutedEventArgs e)
// {
// OnFinish(new ReturnEventArgs("The return value"));
// }
// To launch this page function, put this code in the launching page.
// ${FileNameWithoutExtension} pageFunction = new ${FileNameWithoutExtension}();
// pageFunction.Return += new ReturnEventHandler(On${FileNameWithoutExtension}Returned);
// _NavWin.Navigate(pageFunction);
//
// This handler goes in the launching page.
// public void On${FileNameWithoutExtension}Returned(object sender, ReturnEventArgs e)
// {
// Console.WriteLine("${FileNameWithoutExtension} returned: " + e.Result);
// }
}
}]]>