后退按钮在Wpf浏览器应用程序中禁用

问题描述:

大家好,

我有WPF浏览器应用程序主页.在此,如果可能的话,我想禁用后退按钮.任何人都可以帮助我.

谢谢,
Narasima

Hi to All,

I have WPF Browser application Main page .In this i want disable the back button if it is possible.Please any can help me regarding this.

Advanced Thanks,
Narasima

if(window.history.forward(1)!=-1)
window.history.forward(1);
if(window.history.forward(1)!=-1)
window.history.forward(1);