simple silverlight

test.html

//

 

< html >
< head >
< title > test </ title >
< head >
< body  style ="background:blue" >

< object  type ="application/x-silverlight"  id ="silverlightControl"
    width
="390"  height ="100" >
    
< param  name ="background"  value ="Yellow"   />
    
< param  name ="source"  value ="test.xaml"   />
</ object >

< style ="font-family: Tahoma; color: white" >
The Folder icon is for Project menu. Using project menu, you can organize 
frequently-used documents into categories 
and load them by a single mouse click. See Project Menu for more detail about 
Project management feature. 
</ p >

</ body >

</ body >
</ html >

 

test.xaml

 

< Canvas      xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x
="http://schemas.microsoft.com/winfx/2006/xaml" >

< TextBlock  FontFamily ="Georgia"  Foreground ="Blue"  FontStyle ="Italic"  FontSize ="40"  
    Canvas.Left
="125"  Canvas.Top ="20"  Text ="Great Estates"   />

< Path  Stroke ="Red"  StrokeThickness ="4" >
    
< Path .Data >
        
< PathGeometry >
            
< PathFigure  StartPoint ="0,65" >
                
< ArcSegment  SweepDirection ="Clockwise"  Size ="2,2"  Point ="25,65"   />
                
< ArcSegment  SweepDirection ="Clockwise"  Size ="2,2"  Point ="50,65"   />
                
< ArcSegment  SweepDirection ="Clockwise"  Size ="2,2"  Point ="75,65"   />
                
< ArcSegment  SweepDirection ="Clockwise"  Size ="2,2"  Point ="100,65"   />
                
< LineSegment  Point ="390,65"   />
            
</ PathFigure >
        
</ PathGeometry >
    
</ Path.Data >
</ Path >

</ Canvas >


转载于:https://www.cnblogs.com/hanjack/archive/2009/12/30/1636273.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值