1
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3
<title>Clipping Update test</title>
8
<script type="text/javascript">
9
function OnMouseEnter (sender, eventArgs)
11
sender.findName ("LowerLeft").point = "0,125";
12
sender.findName ("LowerRight").point = "100,125";
13
sender.findName ("UpperRight").point = "100,0";
15
function OnMouseLeave (sender, eventArgs)
17
sender.findName ("LowerLeft").point = "0,10";
18
sender.findName ("LowerRight").point = "10,10";
19
sender.findName ("UpperRight").point = "10,0";
24
<object type="application/x-silverlight" data="data:," id="slControl" width="100" height="125">
25
<param name="background" value="#FFFFFF"/>
26
<param name="source" value="#xamlContent"/>
29
<script type="text/xaml" id="xamlContent">
31
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
32
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
33
MouseEnter="OnMouseEnter" MouseLeave="OnMouseLeave">
39
<LineSegment Point="0,0"/>
40
<LineSegment x:Name="LowerLeft" Point="0,10"/>
41
<LineSegment x:Name="LowerRight" Point="10,10"/>
42
<LineSegment x:Name="UpperRight" Point="10,0"/>
43
<LineSegment Point="0,0"/>
47
<Image Width="100" Height="125" Source="moonlight_logo.png"/>