left click opens context menu
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabView.xaml
</MenuItem>
</ContextMenu>
</Panel.ContextMenu>
+ <Button Click="TargetButton_Click">
<Panel Grid.Row="0" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center" Background="Transparent" DataContext="{Binding CoinJoinUntilAnonimitySet, Converter={StaticResource PrivacyLevelValueConverter}}" ToolTip.Tip="{Binding ToolTip}">
<DrawingPresenter Drawing="{Binding Icon}" VerticalAlignment="Center" Height="100" Width="75" />
</Panel>
+ </Button>
</Panel>
</controls:GroupBox>
</Grid>

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabView.xaml.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabView.xaml.cs
@@ -14,5 +14,12 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
AvaloniaXamlLoader.Load(this);
}
+
+ private void TargetButton_Click(object sender, Avalonia.Interactivity.RoutedEventArgs e)
+ {
+ var panel = ((Button)sender).Parent as Panel;
+ if (panel == null) return;
+ panel.ContextMenu.Open(panel);
+ }
}
}

left click opens context menu