I am using Caliburn Micro, My UserControl(Window) is intially in Center Screen but as content loaded into it dynamically, its size increases.
So i want to make the window in Centre Screen when it resizes.
I am using Caliburn Micro, My UserControl(Window) is intially in Center Screen but as content loaded into it dynamically, its size increases.
So i want to make the window in Centre Screen when it resizes.
While I do not agree with the usability of moving a window in general, here is what you'd do to re-center your window if the window has been resized:
SizeChanged
event handler.