-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainPage.xaml
More file actions
33 lines (30 loc) · 1.88 KB
/
MainPage.xaml
File metadata and controls
33 lines (30 loc) · 1.88 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
<Page
x:Class="Win10_IOTCore_WebBrowser.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Win10_IOTCore_WebBrowser"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Orientation="Vertical">
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Orientation="Horizontal"
HorizontalAlignment="Center" Name="Container">
<Canvas Width="1000" Height="40">
<TextBox Text="" Name="UrlBar" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
FontSize="17" KeyDown="UrlBar_KeyDown" BorderThickness="1" Margin="0"></TextBox>
<ProgressRing Name="Progress" HorizontalAlignment="Right" VerticalAlignment="Top" Visibility="Visible"></ProgressRing>
</Canvas>
<Button Content="GOOGLE" Name="GoBtn" Click="GoBtn_Click" Height="40"></Button>
</StackPanel>
<StackPanel Name="StkCont" HorizontalAlignment="Stretch" Height="750" BorderBrush="Blue" BorderThickness="0 2 0 0">
<WebView Width="1000" Height="750" Name="wv"
NavigationStarting="wv_ContentLoading"
DOMContentLoaded="wv_DOMContentLoaded"></WebView>
</StackPanel>
</StackPanel>
<Canvas>
<TextBlock Text="Loading..." HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="20" Foreground="Red" Name="LoadingTxt" Visibility="Collapsed"></TextBlock>
</Canvas>
</Grid>
</Page>