Hi All
Im writing an app in WPF using MVVM pattern, where Im restricted to binding to properties and commands exclusivley
However, I want to use the WebBrowser control which can only take an html string for content as a parameter to a mthod, and not a property.
I was going to create a new control derived from Webbrowser that has the required property, but the control class is sealed. I tried creating a wrapper control, but I had all sorts of problems with dependency properties that seemed to be more trouble solving than I could be bothered with.
Is there any way I can push a parameter(string) into a method with MVVM without resorting to code in the code-behind files (which is a big no-no).
Thanks
Dean