custom tooltip
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/LabelSelectionViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/LabelSelectionViewModel.cs
@@ -72,6 +72,11 @@ public partial class LabelSelectionViewModel : ViewModelBase
var allLabels = SmartLabel.Merge(AllPocket.Select(x => x.Labels));
AllLabelViewModel = allLabels.Select(x => new LabelViewModel(this, x)).ToArray();
+ if (AllLabelViewModel.FirstOrDefault(x => x.Value == CoinPocketHelper.UnlabelledFundsText) is { } unlabelledViewModel)
+ {
+ unlabelledViewModel.ToolTip = "There is no information about these people, only use it when necessary!";
+ }
+
OnSelectionChanged();
}

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/LabelViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/LabelViewModel.cs
@@ -16,6 +16,7 @@ public partial class LabelViewModel : ViewModelBase
private bool _isFaded;
[AutoNotify] private bool _isPointerOver;
+ [AutoNotify] private string _toolTip;
public LabelViewModel(LabelSelectionViewModel owner, string label)
{
@@ -31,6 +32,8 @@ public partial class LabelViewModel : ViewModelBase
});
ClickedCommand = ReactiveCommand.Create(() => owner.SwapLabel(this));
+
+ _toolTip = label;
}
public string Value { get; }

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/PrivacyControlView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/PrivacyControlView.axaml
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate x:DataType="vm:LabelViewModel">
- <Button Classes="plain" Margin="5" Command="{Binding ClickedCommand}" Classes.faded="{Binding IsFaded}">
+ <Button Classes="plain" Margin="5" Command="{Binding ClickedCommand}" Classes.faded="{Binding IsFaded}" ToolTip.Tip="{Binding ToolTip}">
<i:Interaction.Behaviors>
<behaviors:BindPointerOverBehavior IsPointerOver="{Binding IsPointerOver}" />
</i:Interaction.Behaviors>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate x:DataType="vm:LabelViewModel">
- <Button Classes="plain" Margin="5" Command="{Binding ClickedCommand}" Classes.faded="{Binding IsFaded}">
+ <Button Classes="plain" Margin="5" Command="{Binding ClickedCommand}" Classes.faded="{Binding IsFaded}" ToolTip.Tip="{Binding ToolTip}">
<i:Interaction.Behaviors>
<behaviors:BindPointerOverBehavior IsPointerOver="{Binding IsPointerOver}" />
</i:Interaction.Behaviors>

custom tooltip