add scaffolding for preview on hover.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionPreviewViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/TransactionPreviewViewModel.cs
@@ -215,6 +215,12 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
PrivacySuggestions = new PrivacySuggestionsFlyoutViewModel();
+ PrivacySuggestions.WhenAnyValue(x => x.PreviewSuggestion)
+ .Subscribe(x =>
+ {
+ Console.WriteLine(x.TransactionResult.CalculateDestinationAmount());
+ });
+
SetupCancel(enableCancel: true, enableCancelOnEscape: true, enableCancelOnPressed: false);
EnableBack = true;

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/TransactionPreviewView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/TransactionPreviewView.axaml
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:c="using:WalletWasabi.Fluent.Controls"
+ xmlns:i="using:Avalonia.Xaml.Interactivity"
xmlns:vm="using:WalletWasabi.Fluent.ViewModels.Wallets.Send"
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors"
xmlns:send="clr-namespace:WalletWasabi.Fluent.Views.Wallets.Send"
<ListBox DockPanel.Dock="Top" Background="Transparent" VerticalAlignment="Center"
HorizontalAlignment="Center"
Items="{Binding Suggestions}" SelectedItem="{Binding SelectedSuggestion}">
+ <i:Interaction.Behaviors>
+ <behaviors:ListBoxPreviewBehavior PreviewItem="{Binding PreviewSuggestion}" />
+ </i:Interaction.Behaviors>
<ListBox.Styles>
<Style Selector="ListBoxItem">
<Setter Property="Cursor" Value="Hand" />

add scaffolding for preview on hover.