WPF bug in windows forms app?

Oct 14, 2009 at 9: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 30, 2009 at 12:21 AM
Edited Oct 30, 2009 at 12:43 AM


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!