回答

4

這是解決方案。

var app = WinJS.Application; 

app.onbackclick = function (evt) { 

    // Code that handles event ... 

    // Need to return true to cancel the default behavior of this event. 
    return true; 
}