2 years ago
#61818
BillyBoy
Electron.NET Tray Icon - Click to show app instead of opening tray menu
C# Blazor with Electron.NET Tray icon opens tray menu regardless of if it's right or left click.
How do I disable opening the menu when it's a normal (left) click and make it just show the app instead?
This is what I want to happen when the tray is left clicked:
Electron.WindowManager.BrowserWindows.First().Hide();
Instead, it shows a menu like this: screenshot
c#
electron
blazor
tray
electron.net
0 Answers
Your Answer