2024-02-26 18:08:18 +01:00
|
|
|
<UserControl xmlns="https://github.com/avaloniaui"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
xmlns:vm="using:InkForge.Desktop.ViewModels.Documents"
|
|
|
|
|
xmlns:inkforge="app:InkForge"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
d:DesignWidth="800"
|
|
|
|
|
d:DesignHeight="450"
|
|
|
|
|
x:Class="InkForge.Desktop.Views.Documents.WelcomePageDocument"
|
|
|
|
|
x:DataType="vm:WelcomePageDocumentViewModel"
|
|
|
|
|
inkforge:TopLevels.Register="{CompiledBinding}">
|
2024-03-17 22:27:01 +01:00
|
|
|
<Grid RowDefinitions="Auto, *, Auto">
|
|
|
|
|
<Label Target="RecentItemsList"
|
|
|
|
|
Content="Open Recent"
|
|
|
|
|
Grid.Row="0" />
|
|
|
|
|
|
|
|
|
|
<DataGrid Name="RecentItemsList"
|
|
|
|
|
IsEnabled="False"
|
|
|
|
|
IsReadOnly="True"
|
|
|
|
|
Grid.Row="1">
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn Header="Name"
|
|
|
|
|
Width="*" />
|
|
|
|
|
<DataGridTextColumn Header="Last Used" />
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</DataGrid>
|
|
|
|
|
|
|
|
|
|
<Menu Grid.Row="2">
|
|
|
|
|
<MenuItem Header="Create New"
|
2024-05-02 21:44:13 +02:00
|
|
|
Command="{CompiledBinding CreateNewCommand}" />
|
2024-03-17 22:27:01 +01:00
|
|
|
<MenuItem Header="Open"
|
|
|
|
|
IsEnabled="False" />
|
|
|
|
|
<MenuItem Header="Open File"
|
2024-05-02 21:44:13 +02:00
|
|
|
Command="{CompiledBinding OpenNewCommand}" />
|
2024-03-17 22:27:01 +01:00
|
|
|
</Menu>
|
|
|
|
|
</Grid>
|
2024-05-02 21:44:13 +02:00
|
|
|
</UserControl>
|