Recent Items
This commit is contained in:
parent
2529b728ba
commit
f703567aed
10 changed files with 62 additions and 12 deletions
|
|
@ -13,6 +13,7 @@
|
|||
<Label Content="InkForge"
|
||||
Grid.Row="0" />
|
||||
|
||||
<reactiveui:RoutedViewHost Router="{CompiledBinding Router}" />
|
||||
<reactiveui:RoutedViewHost Router="{CompiledBinding Router}"
|
||||
Grid.Row="1" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
|
@ -2,9 +2,28 @@
|
|||
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.Common.ViewModels.Landing"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
x:Class="InkForge.Common.Views.LandingViews.OpenRecentView">
|
||||
Welcome to Avalonia!
|
||||
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>
|
||||
</UserControl>
|
||||
Loading…
Add table
Add a link
Reference in a new issue