feat: add gui shell with theme, i18n and error pages
This commit is contained in:
1 parent
22a0f61cb5
commit
f36561cb7f
33 files changed
+1333
-26
No files matched your search
@@ -3,16 +3,14 @@
|
||||
xmlns:vm="using:YKanBan.ViewModels"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
mc:Ignorable="d" d:DesignWidth="1000" d:DesignHeight="640"
|
||||
x:Class="YKanBan.Views.MainWindow"
|
||||
x:DataType="vm:MainWindowViewModel"
|
||||
Icon="/Assets/avalonia-logo.ico"
|
||||
Title="YKanBan">
|
||||
Title="{Binding Title}"
|
||||
Width="1000" Height="640" MinWidth="720" MinHeight="480">
|
||||
|
||||
<Design.DataContext>
|
||||
<!-- This only sets the DataContext for the previewer in an IDE,
|
||||
to set the actual DataContext for runtime, set the DataContext property in code (look at App.axaml.cs) -->
|
||||
<vm:MainWindowViewModel/>
|
||||
</Design.DataContext>
|
||||
<!-- The content is the normal workspace view or one of the full-window error pages. -->
|
||||
<ContentControl Content="{Binding Content}"/>
|
||||
|
||||
</Window>
|
||||
Reference in new issue
Block a user