问题
I've got a window like
<Window
x:Class="Hardcodet.NetDrives.UI.SystemTray.Sample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:tb="http://www.hardcodet.net/taskbar">
<Window.TaskbarItemInfo>
<TaskbarItemInfo>
<TaskbarItemInfo.Overlay>
<DrawingImage>
...
</DrawingImage>
</TaskbarItemInfo.Overlay>
</TaskbarItemInfo>
</Window.TaskbarItemInfo>
<tb:TaskbarIcon x:Name="myNotifyIcon" Icon="pic.png"/>
</Window>
How is it possible to add some DrawingImage on tray icon? I hope there is smth like TaskBarItemInfo,but for tray icon (not for taskbar icon).
来源:https://stackoverflow.com/questions/27011627/how-can-i-overlay-system-tray-icon-wpf