39 lines
1.6 KiB
Plaintext
Raw Normal View History

<Window xmlns="https://github.com/avaloniaui"
2023-05-11 23:11:39 -04:00
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:SPTInstaller.ViewModels"
2024-05-01 10:31:55 -04:00
xmlns:rxui="using:Avalonia.ReactiveUI"
2023-05-11 23:11:39 -04:00
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
2024-05-01 10:31:55 -04:00
xmlns:cc="using:SPTInstaller.CustomControls"
2023-08-22 10:21:52 -04:00
xmlns:dialogHost="clr-namespace:DialogHostAvalonia;assembly=DialogHost.Avalonia"
2023-05-11 23:11:39 -04:00
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="SPTInstaller.Views.MainWindow"
Icon="/Assets/spt_installer.ico"
2023-05-11 23:11:39 -04:00
Title="SPT Installer"
Height="450" Width="750"
WindowStartupLocation="CenterScreen"
ExtendClientAreaToDecorationsHint="True"
ExtendClientAreaChromeHints="NoChrome"
ExtendClientAreaTitleBarHeightHint="-1"
Background="{StaticResource SPT_Background_Light}"
2024-05-01 10:31:55 -04:00
MinWidth="800" MinHeight="400">
2023-05-11 23:11:39 -04:00
2024-05-01 10:31:55 -04:00
<Window.Styles>
<StyleInclude Source="/Assets/Styles.axaml" />
</Window.Styles>
2023-05-11 23:11:39 -04:00
2024-05-01 10:31:55 -04:00
<Design.DataContext>
<vm:MainWindowViewModel />
</Design.DataContext>
2023-08-22 10:21:52 -04:00
2024-05-01 10:31:55 -04:00
<Grid RowDefinitions="AUTO,*">
<cc:TitleBar Title="{Binding Title}"
XButtonCommand="{Binding CloseCommand}"
MinButtonCommand="{Binding MinimizeCommand}" />
<dialogHost:DialogHost Grid.Row="1" Background="{StaticResource SPT_Background_Light}">
2024-05-01 10:31:55 -04:00
<rxui:RoutedViewHost Router="{Binding Router}" />
2023-08-22 10:21:52 -04:00
</dialogHost:DialogHost>
2024-05-01 10:31:55 -04:00
</Grid>
</Window>