2024-02-10 10:38:28 +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"
|
2024-02-10 23:47:45 +01:00
|
|
|
xmlns:vm="using:InkForge.Common.ViewModels.Landing"
|
2024-02-10 10:38:28 +01:00
|
|
|
mc:Ignorable="d"
|
|
|
|
|
d:DesignWidth="800"
|
|
|
|
|
d:DesignHeight="450"
|
2024-02-10 23:47:45 +01:00
|
|
|
x:Class="InkForge.Common.Views.LandingViews.OpenRecentView"
|
|
|
|
|
x:DataType="vm:OpenRecentViewModel">
|
|
|
|
|
<Grid RowDefinitions="Auto, *">
|
|
|
|
|
<Label Content="Open Recent"
|
|
|
|
|
Grid.Row="0" />
|
|
|
|
|
|
|
|
|
|
<DataGrid IsReadOnly="true"
|
|
|
|
|
ItemsSource="{CompiledBinding RecentItems}"
|
|
|
|
|
Grid.Row="1">
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn Header="Created"
|
|
|
|
|
Binding="{CompiledBinding Created, StringFormat={}{0:d}}" />
|
|
|
|
|
<DataGridTextColumn Header="Name"
|
|
|
|
|
Width="*"
|
|
|
|
|
Binding="{CompiledBinding Name}" />
|
|
|
|
|
<DataGridTextColumn Header="Last Used"
|
|
|
|
|
Binding="{CompiledBinding LastUsed, StringFormat={}{0:d}}" />
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</DataGrid>
|
|
|
|
|
</Grid>
|
2024-02-10 10:38:28 +01:00
|
|
|
</UserControl>
|