TrayIcon
最后更新于
这有帮助吗?
最后更新于
这有帮助吗?
The TrayIcon
control allows an Avalonia application to display an icon and a native menu in the system tray. It is supported on Windows, macOS and some Linux distributions (confirmed to work on Ubuntu).
Icon
Icon to display on the tray, from the assets
ToolTipText
Text displayed upon hovering the icon
The TrayIcon
is used with a . It has the same capabilities and can be used with commands, according to the MVVM design pattern.
In the Application.xaml
file :