
< Canvas.Triggers >
< EventTrigger RoutedEvent ="Canvas.Loaded" >
< BeginStoryboard >
< Storyboard x:name ="animation2" RepeatBehavior ="Forever" >
< DoubleAnimation Storyboard.Targetname ="List_fbyj"
Storyboard.TargetProperty ="(Canvas.top)" From ="110" To ="20" Duration ="0:0:5" />
</ Storyboard >
</ BeginStoryboard >
</ EventTrigger >
</ Canvas.Triggers >
< ListBox x:name ="List_fbyj" Canvas.top ="23" Foreground ="#FFD3EAFD" Background ="#FFD3EAFD" borderBrush =" {x:Null} " Canvas.ZIndex ="1" MouseEnter ="List_fbyj_MouseEnter" MouseLeave ="List_fbyj_MouseLeave" >
< ListBox.ItemTemplate >
< DataTemplate >
< StackPanel OrIEntation ="Horizontal" >
< TextBlock x:name ="content" FontWeight ="Bold" Foreground ="#FF0000" FontFamily =" {StaticResource FontFamily1} " FontSize ="12" textwrapPing ="Wrap" d:LayoutOverrIDes ="VerticalAlignment" Text =" {Binding 预警摘要} " WIDth ="185" Height ="60" />
</ StackPanel >
</ DataTemplate >
</ ListBox.ItemTemplate >
</ ListBox >
</ Canvas > 总结
以上是内存溢出为你收集整理的文字滚动效果全部内容,希望文章能够帮你解决文字滚动效果所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)