In WPF, has anybody animated a Grid?

前端 未结 7 1899
走了就别回头了
走了就别回头了 2020-12-11 00:32

I have 2 columns in a Grid. When I click a button, I want the first column to animate to the left from it\'s current position to 0. So, in effect, it collapses and I\'m le

7条回答
  •  无人及你
    2020-12-11 01:16

    Another thing you can do is animate the contents and set the Grid to autosize to content which it will do smoothly as the contents changes size.

提交回复
热议问题