在WPF中,已经有人动画网格? [英] In WPF, has anybody animated a Grid?
本文介绍了在WPF中,已经有人动画网格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个网格2列。当我点击一个按钮,我想第一列以动画向左侧从它的当前位置为0。因此,实际上,它缩短了,我只剩下观看一列。
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 left with just viewing a single column.
推荐答案
查看这的视频培训链接,从托德米兰达将告诉您如何动画网格控件的高度。
我想,你可以很容易使你的情况下工作。
Check out this video training link, from Todd Miranda that shows you how to animate the height of a grid control. I think you could easily make it work for your case.
这篇关于在WPF中,已经有人动画网格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文