This repository was archived by the owner on Sep 25, 2018. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathMainPage.xaml
More file actions
49 lines (44 loc) · 2.29 KB
/
Copy pathMainPage.xaml
File metadata and controls
49 lines (44 loc) · 2.29 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!--
Copyright © 2013 Nokia Corporation. All rights reserved.
Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation.
Other product and company names mentioned herein may be trademarks
or trade names of their respective owners.
See LICENSE.TXT for license information.
-->
<phone:PhoneApplicationPage
x:Class="RealtimeFilterDemo.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
SupportedOrientations="PortraitOrLandscape" Orientation="Landscape"
shell:SystemTray.IsVisible="False">
<!--LayoutRoot is the root grid where all page content is placed-->
<Grid x:Name="LayoutRoot" Tap="LayoutRoot_Tap">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--Nackground video -->
<Canvas Name="viewfinderCanvas" Grid.RowSpan="2">
<Canvas.Background>
<VideoBrush x:Name="BackgroundVideoBrush"/>
</Canvas.Background>
</Canvas>
<!--TitlePanel contains the name of the application and page title-->
<StackPanel Grid.Row="0" Margin="12,17,0,28">
<TextBlock Text="{Binding Path=LocalizedResources.ApplicationTitle, Source={StaticResource LocalizedStrings}}" Style="{StaticResource PhoneTextNormalStyle}" />
</StackPanel>
<!--ContentPanel - place additional content here-->
<Grid Grid.Row="1" Margin="12,0,12,0">
<TextBlock x:Name="StatusTextBlock" Margin="12" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
<TextBlock x:Name="FrameRateTextBlock" Margin="12" HorizontalAlignment="Right" VerticalAlignment="Bottom"/>
</Grid>
</Grid>
</phone:PhoneApplicationPage>