Modifying the default Fluent style for TrayIcon? #8528
Unanswered
Mtax-Development
asked this question in
Q&A
Replies: 1 comment
-
|
Yes, if native menu is available, it will be used. Answering your question, menu shown in the TrayIcon is the same MenuFlyoutPresenter as it is normally shows in Avalonia menus. If you style MenuItem globally, it will be applied on the tray icon menu as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I added the following style to an element inheriting from the
Applicationclass:Is there a way to modify this style? My use for this case is modifying the menu of
TrayIcon, as a style appears to be required to create its menu. I'd like to change the highlight color of the menu that is set when a menu option is hovered/clicked by the cursor. I'd assume this would have an effect only on Windows, as it is handled by the OS in other cases, but that is fine.Beta Was this translation helpful? Give feedback.
All reactions