Method called in WPF when window size changes?

后端 未结 2 634
梦如初夏
梦如初夏 2021-02-10 09:09

I am creating a application using WPF. I want to calculate the coordinate of the visible region of a canvas.

Which method will be called when i resize the window, so tha

2条回答
  •  没有蜡笔的小新
    2021-02-10 09:51

    The SizeChanged event will be raised, you can add an event handler there. But maybe your particular problem has another solution (there's too little information in your question).

提交回复
热议问题