【发布时间】:2013-06-03 09:13:05
【问题描述】:
我在我的 windows phone 7 应用程序中使用 itemsControl 显示一个种类列表,但我对 animation 和 storyBoard 等很陌生
所以我的itemsControl 在下面给出
<ItemsControl x:Name="ListContainer">
<ItemsControl.ItemTemplate>
<DataTemplate x:Name="listTemplate">
<StackPanel Margin="25,0,0,0" MaxHeight="100">
<TextBlock Text="{Binding DisplayName}" FontSize="21"></TextBlock>
<Button Name="btn" Tag="{Binding ID}" Content="request" FontSize="21" Width="183" Click="btn_Click" Padding="0"></Button>
</StackPanel>
</DataTemplate>
</ItemsControl.ItemTemplate>
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Vertical"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
</ItemsControl>
现在我想添加一个animation,这样每当一个项目被添加到这个itemsControl时,它(item)应该从bottom移动到up,而不是add
我用谷歌搜索了很多,但没有找到任何令人满意的答案,所以如果有人对故事板和动画有知识,请回答-:谢谢
【问题讨论】:
标签: windows-phone-7 xaml animation storyboard