c# - WPF UserControl still active after Viewbox Child switch -



c# - WPF UserControl still active after Viewbox Child switch -

i have viewbox , initial kid usercontrol displays webbrowser. if open pandora or youtube , begin playing sound , click button switch viewbox kid new user control, visually changes can still hear sound in background.

any suggestions?

the same behavior (audio playing pandora or youtube) true tabbed browsers well. web site owners consider feature go on playing audio.

since cannot alter implementation, alternative have dispose of web control, or navigate different url (say about:blank) unload web page (which stop audio).

c# wpf browser user-controls

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -