-
Notifications
You must be signed in to change notification settings - Fork 0
/
WebviewPage.xaml
38 lines (35 loc) · 1.21 KB
/
WebviewPage.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
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>
<Page
x:Class="sztu_xk.WebviewPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:sztu_xk"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
Loaded="Page_Loaded">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Button
Content="我已登录"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Click="Button_Click"
Margin="10,10,10,10"
/>
<controls:WebView2
x:Name="webview"
Source="https://jwxt.sztu.edu.cn/"
Grid.Row="1"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
MinHeight="200"
MinWidth="200"
/>
</Grid>
</Page>