WPF Frame Content Producing Audible Click (And I Don't Want the Click)

允我心安 提交于 2019-12-25 15:16:52

问题


C# WPF .NET 4.0.

When assigning the frame content, an audible click is produced (like an unhandled event click). I don't want the audible click.

To be clear new Page1() does not produce the audible click. The Frame1.content line produces the click, but the click is only created going from Page1 to a new Page1 or from a Page1 to null. Null to null does NOT create a click. And null to new Page1() does not produce a click. Any ideas?

Page1 nextPage = new Page1("ctor string");
Frame1.content = nextPage;

回答1:


Here's an answer from the wpf team. https://connect.microsoft.com:443/VisualStudio/feedback/details/345528/webbrowser-control-in-wpf-disable-sound



来源:https://stackoverflow.com/questions/6643462/wpf-frame-content-producing-audible-click-and-i-dont-want-the-click

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!