function navigatingTo(args) {
    // Get the event sender
    var page = args.object;
    page.bindingContext = new draw_view_model_1.DrawModel();
}
// Event handler for Page "navigatingTo" event attached in main-page.xml
Event handler for Page "navigatingTo" event attached in main-page.xml
Event handler for Page " navigatingTo " event attached in main - page . xml
function navigatingTo(args) {
    var page = args.object;
    page.bindingContext = new draw_view_model_1.DrawModel();
}
function navigatingTo ( args ) { var page = args . object ; page . bindingContext = new draw_view_model_1 . DrawModel ( ) ; }
Event handler for Page "navigatingTo" event attached in main-page.xml
Event handler for Page " navigatingTo " event attached in main - page . xml
// Get the event sender