1
<Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2
<Rectangle Width="100" Height="100" Fill="Black" />
3
<Rectangle Width="100" Height="100">
5
<ImageBrush ImageSource="mono.png" Stretch="None" />
9
<Rectangle Width="100" Height="100" Canvas.Left="101" Fill="Red" />
10
<Rectangle Width="100" Height="100" Canvas.Left="101" Opacity="0.5">
12
<ImageBrush ImageSource="mono.png" Stretch="None"/>
16
<Rectangle Width="100" Height="100" Canvas.Top="101" Fill="Green" />
17
<Rectangle Width="100" Height="100" Canvas.Top="101">
19
<!-- MS bug ? the Opacity value isn't used -->
20
<ImageBrush ImageSource="mono.png" Stretch="None" Opacity="0.5" />
24
<Rectangle Width="100" Height="100" Canvas.Top="101" Canvas.Left="101" Fill="Blue"/>
25
<Rectangle Width="100" Height="100" Canvas.Top="101" Canvas.Left="101" Opacity="0.5">
27
<!-- MS bug ? the Opacity value isn't used -->
28
<ImageBrush ImageSource="mono.png" Stretch="None" Opacity="0.5" />