我正在使用NavigationWindow来显示 html 文件,它工作正常,直到路径不包含任何 # 或非法字符。
我只是想知道当路径包含 URL 片段时,是否有办法打开 html 文件,例如:如下所示的锚点。
"c:\MyFile.Html#tips"
目前我收到以下异常...
Could not find file 'c:\MyFile.Html#tips'
System.Net.WebException was unhandled
HResult=-2146233079