Is there any reason why the UIElementViewer would not work with Version 13.1 controls on the 4.0 Framework? I have a user control which contains an ultragrid. The uielementviewer is declared globally in the control, and uielementviewer.show is called in the constructor of the control (after the ultragrid is instantiated). I have also moved the .show call to after the ultragrid is made visisble, all to no avail.
Currie,
It should work. Make sure that your project is built to target "x86" and not "AnyCpu". Let me know if that works for you.
Thanks for responding Michael. My issue was that i instantiated the wrong control. I had tried to use the UIElementViewerControl class instead of the UIElementViewerDialog. Dragging the control onto the control cleared it up for me.