-
Notifications
You must be signed in to change notification settings - Fork 4
/
BrowserPage.xaml
26 lines (20 loc) · 1.16 KB
/
BrowserPage.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
26
<Page x:Class="CheckinClient.BrowserPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:eo="http://schemas.essentialobjects.com/wpf/"
xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300"
Title="Check-in"
Style="{StaticResource pageBackground}" >
<Grid x:Name="frmMain" Loaded="frmMain_Loaded">
<Grid x:Name="frmWebBrowser">
<wv2:WebView2 Name="wbWebBrowser" />
<Popup x:Name="puOverlay" AllowsTransparency="True" PlacementTarget="{Binding ElementName=wbMain}" Opacity="0.5" Placement="Left" HorizontalOffset="100">
<Button x:Name="btnClose" Width="100" Height="100" Opacity="0.01" BorderBrush="{x:Null}" FocusVisualStyle="{x:Null}" Click="btnClose_Click"></Button>
</Popup>
</Grid>
</Grid>
</Page>