WPF bug in windows forms app?

Oct 14, 2009 at 8:47 AM


There is an interesting behavior in my windows forms app. I created a WPF window, added the DataGrid, and presented the window from my windows forms application.This case the cell editor does not work, you cannot type letters in the cell, only spaces, and delete the content. This is strange. I could solve this by creating a UserControl xaml, adding the data grid to the control, and I added the user control to a windows forms window. This way it works. Has anybody faced similar issues? I am using the latest WPF toolkit, latest Visual Studio, latest service pack, latest upgrades... etc.





Oct 29, 2009 at 11:21 PM
Edited Oct 29, 2009 at 11:43 PM


I came across the same issue. It took me days to find out that this wasn't my fault (=> wpf beginner).

Interestingly, the ComboBoxColumn does work in some cases (values can be changed). I'll try your workaround right away.

Cheers, Markus

Edit: Works!