1 <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
3 <MediaElement x:Name="ExampleVideo" Source="../media/video/timecode-short-wmv8.wmv"
4 Opacity="0.0" IsHitTestVisible="False"/>
5 <Rectangle Width="100" Height="100" Stroke="blue">
7 <VideoBrush SourceName="ExampleVideo" Stretch="None"/>
10 <Rectangle Width="100" Height="100" Canvas.Left="101" Stroke="blue">
12 <VideoBrush SourceName="ExampleVideo" Stretch="Uniform"/>
15 <Rectangle Width="100" Height="100" Canvas.Left="202" Stroke="blue">
17 <VideoBrush SourceName="ExampleVideo" Stretch="UniformToFill"/>
20 <Rectangle Width="100" Height="100" Canvas.Left="303" Stroke="blue">
22 <VideoBrush SourceName="ExampleVideo" Stretch="Fill"/>
26 <Rectangle Width="100" Height="100" Canvas.Top="101" Stroke="blue">
28 <VideoBrush SourceName="ExampleVideo" Stretch="None" AlignmentX="Left"/>
31 <Rectangle Width="100" Height="100" Canvas.Top="101" Canvas.Left="101" Stroke="blue">
33 <VideoBrush SourceName="ExampleVideo" Stretch="Uniform" AlignmentX="Left"/>
36 <Rectangle Width="100" Height="100" Canvas.Top="101" Canvas.Left="202" Stroke="blue">
38 <VideoBrush SourceName="ExampleVideo" Stretch="UniformToFill" AlignmentX="Left"/>
41 <Rectangle Width="100" Height="100" Canvas.Top="101" Canvas.Left="303" Stroke="blue">
43 <VideoBrush SourceName="ExampleVideo" Stretch="Fill" AlignmentX="Left"/>
47 <Rectangle Width="100" Height="100" Canvas.Top="202" Stroke="blue">
49 <VideoBrush SourceName="ExampleVideo" Stretch="None" AlignmentX="Right"/>
52 <Rectangle Width="100" Height="100" Canvas.Top="202" Canvas.Left="101" Stroke="blue">
54 <VideoBrush SourceName="ExampleVideo" Stretch="Uniform" AlignmentX="Right"/>
57 <Rectangle Width="100" Height="100" Canvas.Top="202" Canvas.Left="202" Stroke="blue">
59 <VideoBrush SourceName="ExampleVideo" Stretch="UniformToFill" AlignmentX="Right"/>
62 <Rectangle Width="100" Height="100" Canvas.Top="202" Canvas.Left="303" Stroke="blue">
64 <VideoBrush SourceName="ExampleVideo" Stretch="Fill" AlignmentX="Right"/>
68 <Rectangle Width="100" Height="100" Canvas.Top="303" Stroke="blue">
70 <VideoBrush SourceName="ExampleVideo" Stretch="None" AlignmentY="Top"/>
73 <Rectangle Width="100" Height="100" Canvas.Top="303" Canvas.Left="101" Stroke="blue">
75 <VideoBrush SourceName="ExampleVideo" Stretch="Uniform" AlignmentY="Top"/>
78 <Rectangle Width="100" Height="100" Canvas.Top="303" Canvas.Left="202" Stroke="blue">
80 <VideoBrush SourceName="ExampleVideo" Stretch="UniformToFill" AlignmentY="Top"/>
83 <Rectangle Width="100" Height="100" Canvas.Top="303" Canvas.Left="303" Stroke="blue">
85 <VideoBrush SourceName="ExampleVideo" Stretch="Fill" AlignmentY="Top"/>
89 <Rectangle Width="100" Height="100" Canvas.Top="404" Stroke="blue">
91 <VideoBrush SourceName="ExampleVideo" Stretch="None" AlignmentY="Bottom"/>
94 <Rectangle Width="100" Height="100" Canvas.Top="404" Canvas.Left="101" Stroke="blue">
96 <VideoBrush SourceName="ExampleVideo" Stretch="Uniform" AlignmentY="Bottom"/>
99 <Rectangle Width="100" Height="100" Canvas.Top="404" Canvas.Left="202" Stroke="blue">
101 <VideoBrush SourceName="ExampleVideo" Stretch="UniformToFill" AlignmentY="Bottom"/>
104 <Rectangle Width="100" Height="100" Canvas.Top="404" Canvas.Left="303" Stroke="blue">
106 <VideoBrush SourceName="ExampleVideo" Stretch="Fill" AlignmentY="Bottom"/>