My view has a windows forms host.
I need to bind the child property to a custom control.
Obviously in the .xaml code behind I can reference something like this
this.windowsFormsHost1.Child = myCustomControl
But I dont want to do this, ideally the Child property in the view would bind to my custom control in the view model
When I do this I get error
"A 'Binding' cannot be set on the 'Child' property of type 'WindowsFormsHost'. A 'Binding' can only be set on a DependencyProperty of a DependencyObject."
Any help would be GREATLY APPRECIATED.