wpf_resize_adorner
Hi, my name is Edgardo first of all I want to thank you for this wonderful example, it really helped me a lot with a project I'm currently developing though I still have some issues with something I' trying to deal with, I would really aprecciate if you could help me my problem in case of possible.
I very familiar to winForms world, but I recently got in WPF, and it's been quite a hard thing to grasp in some way, I basically need a mdi form application, but firt thing I found is WPF doesn't support Mdi parent forms and child, so instead I used a tabcontrol object which I added to the main WFP form with a menu , and designed some nice userControls object which are dynamically added to tabItem objects when needed, problem is that my usercontrols have some defined size which I need to resize, most of my usercontrols' components have default WPF grid or dockpanel object, and visual sizes are handled with viewbox object when resized, so when I initialize size for my usercontrols by code is with specific width or height, they look great though as usercontrols have no border I can't resize them manually, so your code help me a lot if I try to resize a grid within my usercontrol or any other object or panel it has, but it fails when I try to set a usercontrol object type to your new CResizeAdorner(usercontrol1, 300, 300) method, is there any way to solve the problem ?, can I handle a usercontrol type object with decorator class implementation? or how could a usercontrol could be resized or dragged if it's contained in a tabItem ?