Im trying to host a Datagridview in a WPF usercontrol. The datagridview is added to the winformshost in the constructor and the Enter and Leave events wired up. The Enter event fires the first time the grid gets focus but not subsequently and the leave event is never fired.
Any ideas? Thanks
MSDN says:
So if you want the leave and enter events to fire you'd have to leave to another control in the same WindowsFormsHost. This would only be possible by creating a usercontrol containing the datagridview and another control.
Feels like a hack though. If you can, just live with the fact that it's not supported.