I am writing an application in WPF using the MVVM template, where Im is limited to binding to exclusivley properties and commands
However, I want to use a WebBrowser control that can only accept an html string for content as an argument to mthod, not a property.
I was about to create a new control obtained from Webbrowser with the required property, but the control class is sealed. I tried to create a shell control, but I had all kinds of problems with dependency properties, which seemed to be more complex than I could worry.
Is it possible to somehow insert a parameter (string) into a method with MVVM without resorting to code in files with code (this is a big no-no).
thanks
Dean
Dean chalk
source
share