Binding to a WPF hosted control's DependencyProperty in WinForms
- by Reddog
I have a WinForms app with some elements that are hosted WPF user controls (using ElementHost).
I want to be able to bind my WinForm's control property (Button.Enabled) to a custom DependencyProperty of the hosted WPF user control (SearchResults.IsAccountSelected).
Is it possible to bind a System.Windows.Forms.Binding to a property managed by a…