Jun192008

Where "BrowserHost" in Silverlight has gone?

Published by waqas at 9:26 PM under Tips n Tricks

If you guys have used BrowserHost class from System.Windows.Interop namespace earlier, then upgrading from Silverlight 1.1 to Silverlight 2.0 must have left you with your head scratching - because BrowserHost class is no longer available in Silverlight beta2.

Workaround is much simpler. Just use "App.Current.Host.Content" class which seems to have all the good old events and methods of the BrowserHost.

Hope this helped!

[Digg] [Google] [Facebook]

Tags:

E-mail| Permalink | Trackback | Post RSSRSS comment feed 0 Responses

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading