add history to home page.
MODIFY
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
xmlns:c="clr-namespace:WalletWasabi.Fluent.Controls"
xmlns:tiles="using:WalletWasabi.Fluent.Views.Wallets.Home.Tiles"
xmlns:wallets="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets"
- xmlns:views="using:WalletWasabi.Fluent.Views.ResponsivePanelDemo"
- mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ xmlns:history="using:WalletWasabi.Fluent.Views.Wallets.History"
+ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="850"
x:DataType="wallets:WalletViewModel"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.WalletView">
- <controls:ContentArea Title="{Binding Title}"
+ <c:ContentArea Title="{Binding Title}"
Caption="Wallet Home Page, currently under construction.">
- <views:ResponsivePanelDemoView/>
- </controls:ContentArea>
+ <DockPanel VerticalAlignment="Top">
+ <c:ResponsivePanel
+ DockPanel.Dock="Top"
+ AspectRatio="NaN"
+ ItemWidth="330"
+ ItemHeight="150"
+ ColumnHints="1, 2, 3"
+ WidthTriggers="300, 450, 650"
+ UseLayoutRounding="False">
+ <tiles:WalletBalanceTileView
+ c:ResponsivePanel.ColumnSpan="1, 1, 1" c:ResponsivePanel.RowSpan="1, 1, 1" />
+ <Border CornerRadius="4" Margin="4" Background="Green"
+ c:ResponsivePanel.ColumnSpan="1, 1, 1" c:ResponsivePanel.RowSpan="1, 1, 1" />
+ <Border CornerRadius="4" Margin="4" Background="Blue"
+ c:ResponsivePanel.ColumnSpan="1, 1, 1" c:ResponsivePanel.RowSpan="1, 1, 1" />
+ <Border CornerRadius="4" Margin="4" Background="Yellow"
+ c:ResponsivePanel.ColumnSpan="1, 1, 1" c:ResponsivePanel.RowSpan="1, 1, 2" />
+ <tiles:WalletBalanceChartTileView
+ c:ResponsivePanel.ColumnSpan="1, 2, 2" c:ResponsivePanel.RowSpan="1, 2, 2" />
+ </c:ResponsivePanel>
+ <history:HistoryTable DataContext="{Binding History}" MaxWidth="1000"
+ HorizontalAlignment="Stretch" VerticalAlignment="Top" />
+ </DockPanel>
+ </c:ContentArea>
</UserControl>
\ No newline at end of file

add history to home page.