Data Binding Controls/Indicators in Two Windows
-
Hi, I am trying to do data binding in WPF using controls and indicators in "two" windows. Window 1 has controls and indicators. The controls are source to properties in Window 2. When a property changes in Window 2, that property is sent back to an indicator in Window 1. Setup: Window 1 is comprised of normal .NET WPF objects in the form of controls and indicators. Window 2 however hosts an ActiveX control wrapped in a WindowsFormsHost object. Because of this I don't have access to the properties of the ActiveX control through XAML. So I have to use a dependency object in Window 2. Anyone done anything like this? The norm (at least what I've found)is having all objects on one Window and having the ActiveX control complicates this. Maybe someone has the solution. Thanks