silverlight   发布时间:2022-05-03  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了文字滚动效果大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

< 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 >

大佬总结

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

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

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。