文字滚动效果

文字滚动效果,第1张

概述< Canvas x:Name ="c2" > < Canvas.Triggers > < EventTrigger RoutedEvent ="Canvas.Loaded" > < BeginStoryboard > < Storyboard x:Name ="animation2" RepeatBehavior ="Forever" > < DoubleAnimation Storyboard < Canvas x:name ="c2" >
< 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 > 总结

以上是内存溢出为你收集整理的文字滚动效果全部内容,希望文章能够帮你解决文字滚动效果所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1014940.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-22
下一篇2022-05-22

发表评论

登录后才能评论

评论列表(0条)

    保存