Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby-on-rails-4/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows store apps 如何在Windows应用商店应用程序中清除Webview的导航历史记录_Windows Store Apps - Fatal编程技术网

Windows store apps 如何在Windows应用商店应用程序中清除Webview的导航历史记录

Windows store apps 如何在Windows应用商店应用程序中清除Webview的导航历史记录,windows-store-apps,Windows Store Apps,如何在Windows应用商店应用程序Windows 8.1中清除Webview的导航历史记录 //我的WebView名称是MyWebView MyWebView.Source=null//破例 是否有其他方法可以清除Webview导航历史记录//我的Webview名称是MyWebView //清除DataContext的步骤 MyWebView.ClearValueWebView.DataContextProperty //净宽 MyWebView.ClearValueWebView.Width

如何在Windows应用商店应用程序Windows 8.1中清除Webview的导航历史记录


//我的WebView名称是MyWebView

MyWebView.Source=null//破例


是否有其他方法可以清除Webview导航历史记录

//我的Webview名称是MyWebView

//清除DataContext的步骤

MyWebView.ClearValueWebView.DataContextProperty

//净宽

MyWebView.ClearValueWebView.WidthProperty

//净高


MyWebView.ClearValueWebView.HeightProperty

虽然您提到的是清除属性的好方法,但它并没有清除web视图的导航历史记录,它只是删除源URL。是的,这就像为对象的属性创建新实例一样。非常感谢您的回复F.D.F.Dev