-
Notifications
You must be signed in to change notification settings - Fork 12
/
MainWindow.xaml
25 lines (25 loc) · 1.45 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Topmost="True"
Title="{StaticResource ken burns slideshow}" Height="350" Width="525" Background="{x:Null}" Loaded="Window_Loaded" WindowState="Maximized" AllowsTransparency="True" WindowStyle="None" Cursor="None" Closing="Window_Closing" Icon="KenBurns.ico" PreviewKeyDown="Window_PreviewKeyDown">
<Canvas x:Name="mainGrid">
<Image x:Name="slide_img0" RenderOptions.BitmapScalingMode="HighQuality"/>
<Image x:Name="slide_img1" RenderOptions.BitmapScalingMode="HighQuality"/>
<TextBlock x:Name="tb_date0" HorizontalAlignment="Left" VerticalAlignment="Top" FontFamily="Georgia" FontStyle="Italic" Foreground="White">
<TextBlock.CacheMode>
<BitmapCache/>
</TextBlock.CacheMode>
<TextBlock.Effect>
<DropShadowEffect ShadowDepth="2" Opacity="0.8"/>
</TextBlock.Effect>
</TextBlock>
<TextBlock x:Name="tb_date1" HorizontalAlignment="Left" VerticalAlignment="Top" FontFamily="Georgia" FontStyle="Italic" Foreground="White">
<TextBlock.CacheMode>
<BitmapCache/>
</TextBlock.CacheMode>
<TextBlock.Effect>
<DropShadowEffect ShadowDepth="2" Opacity="0.8"/>
</TextBlock.Effect>
</TextBlock>
</Canvas>
</Window>