|
|
|
<Window
|
|
|
|
x:Class="DiscordChatExporter.Gui.Views.RootView"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:s="https://github.com/canton7/Stylet"
|
|
|
|
xmlns:viewModels="clr-namespace:DiscordChatExporter.Gui.ViewModels"
|
|
|
|
Width="600"
|
|
|
|
Height="550"
|
|
|
|
MinWidth="325"
|
|
|
|
d:DataContext="{d:DesignInstance Type=viewModels:RootViewModel}"
|
|
|
|
Background="{DynamicResource MaterialDesignPaper}"
|
|
|
|
Icon="/DiscordChatExporter;component/favicon.ico"
|
|
|
|
Style="{DynamicResource MaterialDesignRoot}"
|
|
|
|
WindowStartupLocation="CenterScreen"
|
|
|
|
mc:Ignorable="d">
|
|
|
|
<Window.TaskbarItemInfo>
|
|
|
|
<TaskbarItemInfo ProgressState="Normal" ProgressValue="{Binding Dashboard.Progress.Current.Fraction}" />
|
|
|
|
</Window.TaskbarItemInfo>
|
|
|
|
|
|
|
|
<materialDesign:DialogHost
|
|
|
|
Loaded="{s:Action OnViewFullyLoaded}"
|
|
|
|
SnackbarMessageQueue="{Binding Notifications}"
|
|
|
|
Style="{DynamicResource MaterialDesignEmbeddedDialogHost}">
|
|
|
|
<Grid>
|
|
|
|
<ContentControl s:View.Model="{Binding Dashboard}" />
|
|
|
|
<materialDesign:Snackbar MessageQueue="{Binding Notifications}" />
|
|
|
|
</Grid>
|
|
|
|
</materialDesign:DialogHost>
|
|
|
|
</Window>
|