When using a Run (inside a TextBlock element) inside the DataGridDetailsPresenter-
On runtime when clicking the run the system crashes with the following error:
'System.Windows.Documents.Run' is not a Visual or Visual3D.
I'm using the DataGrid on FW.3.5.
This bug does not happen on FW4.0.
* From looking at the DataGrid's code the reason is that inside the MouseDown event on DataGridDetailsPresenter the grid looks up on the VisualTree of the OrginialSource of the click (and Run is not a visual -> Execption :))
I managed a walkaround on my DataGrid, but thought reporting this bug might help some others...
View Complete Post