How can I suspend and resume layout in WPF?

后端 未结 3 1958
灰色年华
灰色年华 2021-02-08 15:06

How can I suspend and resume layout in WPF? I heard that this is not necessary. But this is extremely necessary!

I process a lot of change positions, and if they are ren

3条回答
  •  有刺的猬
    2021-02-08 15:29

    Have you considered removing the canvas from the window first which would hide it, then clear and re-add all your items to the canvas, then re add the canvas back to the window?

提交回复
热议问题