-
Notifications
You must be signed in to change notification settings - Fork 2
/
MainWindow.xaml
29 lines (28 loc) · 1.13 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
26
27
28
29
<?xml version="1.0" encoding="UTF-8" ?>
<Window
x:Class="PokeCardManager.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:b="clr-namespace:Microsoft.AspNetCore.Components.WebView.Wpf;assembly=Microsoft.AspNetCore.Components.WebView.Wpf"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:PokeCardManager"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
WindowStartupLocation="CenterScreen"
Closing="Shutdown"
Title="Pokemon Card Manager"
Height="600"
Width="1075"
MinWidth="1075"
MinHeight="600"
mc:Ignorable="d">
<Grid>
<b:BlazorWebView
HostPage="wwwroot/index.html" x:Name="blazorWebView" Services="{DynamicResource services}" Background="Black">
<b:BlazorWebView.RootComponents>
<b:RootComponent
ComponentType="{x:Type local:Main}"
Selector="#app"/>
</b:BlazorWebView.RootComponents>
</b:BlazorWebView>
</Grid>
</Window>