I have a borderless transparent wpf window (WindowStyle=None) that I would like to be able to resize from all sides. Currently resizing is only working with the above settings if I set ResizeMode=CanResizeWithGrip. This is nice for the visual cue, but not so nice because you can only resize from one corner.
I would like to do this with an adorner, so I can also give a visual cue when the window is in resize mode (which can be switched on and off). Is this possible? If so, how would I go about this?
This question has already been answered somewhere on stackoverflow. I can't really find it now, but here is how I did it.
MainWindow:
MainWindow Code: