Silverlight 2 转换和剪辑区域
2009-02-09 11:52:17 来源:WEB开发网图 10 Page.xaml
<UserControl x:Class="VideoOverlay.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid x:Name="LayoutRoot" Background="Black">
<Canvas Width="720" Height="480">
<MediaElement x:Name="Player" Source="Videos/CRCC Jet Fly.wmv"
Width="720" Height="480" MediaEnded="MediaElement_MediaEnded" />
<Canvas Canvas.Top="448" Width="720" Height="32" Opacity="0.5">
<Canvas.Clip>
<RectangleGeometry Rect="0,0,720,32" />
</Canvas.Clip>
<Rectangle x:Name="Marquee" Width="720" Height="32" Fill="Black" />
<TextBlock x:Name="Headlines" Canvas.Left="800" Canvas.Top="8"
Foreground="White" FontSize="14">
<TextBlock.Resources>
<Storyboard x:Name="TickerStoryBoard"
Completed="TickerStoryBoard_Completed">
<DoubleAnimation x:Name="TickerAnimation"
Storyboard.TargetName="Headlines"
Storyboard.TargetProperty="(Canvas.Left)" />
...
</UserControl>
Tags:Silverlight 转换 剪辑
编辑录入:爽爽 [复制链接] [打 印]- ››silverlight全屏显示图片
- ››Silverlight MVVM 模式(一) 切近实战
- ››Silverlight for Windows Phone 7开发系列(1):...
- ››Silverlight for Windows Phone 7开发系列(2):...
- ››Silverlight for Windows Phone 7开发系列(3):...
- ››Silverlight for Windows Phone 7开发系列(4):...
- ››Silverlight for Symbian
- ››Silverlight3系列(四)数据绑定 Data Binding 1
- ››转换工具介绍
- ››silverlight2 游戏 1 你能坚持多少秒
- ››Silverlight开发实践--PicZoomShow
- ››Silverlight自定义控件开发 - 令人懊恼的OnApplyT...
更多精彩
赞助商链接