Previusly, I used copy and paste from "locals" or "watch" windows and it looked like there:
which is more compact and comfortable representation.
Microsoft Dynamics Ax developer's blog
I am sharing a tabax successor for Ax6 as an example of usage WPF control.
The form uses standard tab control from WPF with a custom template.
Also you can use it as an example of event handling.
The code has a problem which I can not resolve now: if you press a middle or right mouse button on a tab, vontr scrolls to the start - so you can accidentially close wrong tab. Now the workaround provided: if such event occured, event handler uses selected tab instead of tab under click
Just updated my old sample to produce DGML in addition to .DOT, so now you can view cross-references in VS2010 interactively (filter, rearrange so on). For example picture above shows relations of LedgerVoucherObject.check