问题
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