I used Josh Smith's DisplayAdorningEditors example which works great however if I put the extended grid in a custom control there is a little problem with the event handlers. The extender wants a x:Class defined for the event handler, which would be a for the resource not the custom control code behind. I'm fairly sure it's a one line fix for someone that has a better understanding of wpf controls and routedevents.
It will give 1 build error:
'ResourceDictionary' root element requires a x:Class attribute to support event handlers in the XAML file. Either remove the event handler for the RequestAdorningEditor event, or add a x:Class attribute to the root element.
I tried to attach the sample Josh's sample + what is needed to recreate the problem. but it's 4.4MB(over the limit).
I have a problem with this approach as the control is not unloading from memory.
How exactly do I set DisplayAdorningEditors=False in code?
I cannot find that property on my grid object so far.
XamDataGridBehavior.SetDisplayAdorningEditors(xamGridExams, False) seems to help (where you pass your grid object).