Method invoked in WPF when resizing a window?

I am creating an application using WPF. I want to calculate the coordinate of the visible area of ​​the canvas.

What method will be called when the window is resized so that I can calculate the coordinate when the window is resized?

+4
source share
1 answer

SizeChanged event will be added, you can add an event handler. But perhaps your specific problem has a different solution (there is too little information in your question).

+6
source

Source: https://habr.com/ru/post/1342783/


All Articles