Remove old table control
DELETE
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTablePro.axaml
-<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:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
- xmlns:c="using:WalletWasabi.Fluent.Controls"
- xmlns:history="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Home.History"
- xmlns:historyItems="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Home.History.HistoryItems"
- xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors"
- xmlns:columns="clr-namespace:WalletWasabi.Fluent.Views.Wallets.Home.History.Columns"
- xmlns:treeDataGrid="clr-namespace:WalletWasabi.Fluent.TreeDataGrid"
- mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:DataType="history:HistoryViewModel"
- x:CompileBindings="True"
- ClipToBounds="False"
- x:Class="WalletWasabi.Fluent.Views.Wallets.Home.History.HistoryTablePro">
- <Panel>
-
- <TreeDataGrid Source="{Binding Source}"
- CanUserResizeColumns="False"
- Margin="0 0 0 0">
- <TreeDataGrid.ElementFactory>
- <treeDataGrid:CustomElementFactory />
- </TreeDataGrid.ElementFactory>
- <TreeDataGrid.Styles>
- <Style Selector="treeDataGrid|TreeDataGridPrivacyTextCell">
- <Setter Property="FontFamily" Value="{StaticResource MonospacedFont}" />
- <Setter Property="FontSize" Value="15" />
- <Setter Property="Margin" Value="10 0" />
- </Style>
- <Style Selector="PathIcon">
- <Setter Property="Height" Value="13" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- </Style>
- <Style Selector="TextBlock, c|PrivacyContentControl">
- <Setter Property="VerticalAlignment" Value="Center" />
- </Style>
- <Style Selector="StackPanel">
- <Setter Property="Orientation" Value="Horizontal" />
- <Setter Property="Spacing" Value="10" />
- <Setter Property="Margin" Value="10 0" />
- </Style>
- <Style Selector="TreeDataGridRow Button.historyDetails">
- <Setter Property="Opacity" Value="0"></Setter>
- </Style>
- <Style Selector="TreeDataGridRow:pointerover Button.historyDetails">
- <Setter Property="Opacity" Value="1"></Setter>
- </Style>
- <Style Selector="TreeDataGridRow">
- <Setter Property="Focusable" Value="False" />
- <Setter Property="Height" Value="37.5" />
- <Setter Property="Template">
- <ControlTemplate>
- <DockPanel LastChildFill="True">
- <Border Name="PART_SelectionIndicator"
- BorderThickness="2 0 0 0"
- DockPanel.Dock="Left"
- VerticalAlignment="Stretch" />
- <DataGridFrozenGrid Name="PART_Root"
- RowDefinitions="*,Auto,Auto"
- ColumnDefinitions="Auto,*">
-
- <Rectangle Name="BackgroundRectangle"
- Grid.RowSpan="2"
- Grid.ColumnSpan="2" x:CompileBindings="False"
- Classes.selectAnimation="{Binding IsFlashing}" />
- <!--<Rectangle x:Name="InvalidVisualElement"
- Grid.ColumnSpan="2"
- Fill="{DynamicResource DataGridRowInvalidBrush}" />-->
-
- <!--<DataGridRowHeader Name="PART_RowHeader"
- Grid.RowSpan="3"
- DataGridFrozenGrid.IsFrozen="True" />-->
- <!--<DataBoxCellsPresenter Name="PART_CellsPresenter"
- DataGridFrozenGrid.IsFrozen="True" />-->
- <TreeDataGridCellsPresenter Name="PART_CellsPresenter"
- Grid.Column="1"
- ElementFactory="{TemplateBinding ElementFactory}"
- Items="{TemplateBinding Columns}"
- Rows="{TemplateBinding Rows}"/>
- <!--<DataGridDetailsPresenter Name="PART_DetailsPresenter"
- Grid.Row="1"
- Grid.Column="1"
- Background="{DynamicResource DataGridDetailsPresenterBackgroundBrush}" />-->
- <Rectangle Name="PART_BottomGridLine"
- Grid.Row="2"
- Grid.Column="1"
- HorizontalAlignment="Stretch"
- Height="1" />
-
- </DataGridFrozenGrid>
- </DockPanel>
- </ControlTemplate>
- </Setter>
- </Style>
- <Style Selector="TreeDataGridRow /template/ Rectangle#BackgroundRectangle.selectAnimation">
- <Setter Property="Fill" Value="{DynamicResource SystemAccentColor}" />
- <Setter Property="Opacity" Value="0" />
- <Style.Animations>
- <Animation Duration="1.5">
- <KeyFrame KeyTime="0:0:0.0">
- <Setter Property="Opacity" Value="0" />
- </KeyFrame>
- <KeyFrame KeyTime="0:0:0.25">
- <Setter Property="Opacity" Value="0.5" />
- </KeyFrame>
- <KeyFrame KeyTime="0:0:0.50">
- <Setter Property="Opacity" Value="0" />
- </KeyFrame>
- <KeyFrame KeyTime="0:0:0.75">
- <Setter Property="Opacity" Value="0.5" />
- </KeyFrame>
- <KeyFrame KeyTime="0:0:1">
- <Setter Property="Opacity" Value="0" />
- </KeyFrame>
- <KeyFrame KeyTime="0:0:1.25">
- <Setter Property="Opacity" Value="0.5" />
- </KeyFrame>
- <KeyFrame KeyTime="0:0:1.5">
- <Setter Property="Opacity" Value="0" />
- </KeyFrame>
- </Animation>
- </Style.Animations>
- </Style>
- <Style Selector="TreeDataGridRow:selected /template/ TreeDataGridCellsPresenter#PART_CellsPresenter">
- <Setter Property="Background" Value="Transparent" />
- </Style>
- <Style Selector="TextBlock.hidden">
- <Setter Property="IsVisible" Value="False" />
- </Style>
- <Style Selector="TextBlock.visible">
- <Setter Property="IsVisible" Value="True" />
- </Style>
- <Style Selector="PathIcon.hidden">
- <Setter Property="IsVisible" Value="False" />
- </Style>
-
- <Style Selector="TreeDataGridRow">
- <Setter Property="(i:Interaction.Behaviors)">
- <i:BehaviorCollectionTemplate>
- <i:BehaviorCollection>
- <behaviors:HistoryItemDetailsBehavior />
- </i:BehaviorCollection>
- </i:BehaviorCollectionTemplate>
- </Setter>
- </Style>
-
- <Style Selector="behaviors|DataBoxItemDetailsAdorner">
- <Setter Property="Margin" Value="-31,0,0,0" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="ClipToBounds" Value="False" />
- <Setter Property="IsHitTestVisible" Value="True" />
- <Setter Property="Template">
- <ControlTemplate>
- <Panel Background="Transparent">
- <Button x:DataType="historyItems:HistoryItemViewModelBase" Classes="plain" ToolTip.Tip="Show Details"
- Command="{Binding ShowDetailsCommand}">
- <PathIcon Data="{StaticResource details_regular}" Height="15" Opacity="0.6" />
- </Button>
- </Panel>
- </ControlTemplate>
- </Setter>
- </Style>
-
- </TreeDataGrid.Styles>
- </TreeDataGrid>
- <Panel IsVisible="{Binding IsTransactionHistoryEmpty}">
- <c:HistoryPlaceholderPanel Margin="{StaticResource HistoryTablePlaceholderPanelMargin}"
- RowHeight="{StaticResource HistoryTableRowHeight}"/>
- <Panel Background="{DynamicResource RegionColor}" Opacity="0.4" />
-
- <TextBlock Classes="h5 bold"
- VerticalAlignment="Center"
- HorizontalAlignment="Center"
- Opacity="{StaticResource HistoryTablePlaceholderTextOpacity}">Nothing to see here yet.</TextBlock>
-
- </Panel>
- </Panel>
-</UserControl>
\ No newline at end of file

DELETE
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTablePro.axaml.cs
-using Avalonia.Controls;
-using Avalonia.Markup.Xaml;
-
-namespace WalletWasabi.Fluent.Views.Wallets.Home.History;
-
-public class HistoryTablePro : UserControl
-{
- public HistoryTablePro()
- {
- InitializeComponent();
- }
-
- private void InitializeComponent()
- {
- AvaloniaXamlLoader.Load(this);
- }
-}
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
</Panel.Styles>
<home:WalletTiles />
</Panel>
- <Panel>
- <!--<history:HistoryTable Name="HistoryTable"
- DataContext="{Binding History}"
- HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />-->
- <history:HistoryTablePro Name="HistoryTable"
+ <history:HistoryTable Name="HistoryTable"
DataContext="{Binding History}"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
- </Panel>
</DockPanel>
</c:ContentArea>
</UserControl>

Remove old table control