0

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).

maskalek
  • 453
  • 5
  • 18
  • CodeProject has a great article about implementing [WPF systray icon](http://www.codeproject.com/Articles/36468/WPF-NotifyIcon), it has many features including setting image sources for the tray icon. – kennyzx Nov 19 '14 at 09:27
  • there is no anything about overlay on tray icon over there – maskalek Nov 20 '14 at 08:32

0 Answers0