Hardcodet.NotifyIcon.Wpf
2.0.0
See the version list below for details.
dotnet add package Hardcodet.NotifyIcon.Wpf --version 2.0.0
NuGet\Install-Package Hardcodet.NotifyIcon.Wpf -Version 2.0.0
<PackageReference Include="Hardcodet.NotifyIcon.Wpf" Version="2.0.0" />
paket add Hardcodet.NotifyIcon.Wpf --version 2.0.0
#r "nuget: Hardcodet.NotifyIcon.Wpf, 2.0.0"
// Install Hardcodet.NotifyIcon.Wpf as a Cake Addin #addin nuget:?package=Hardcodet.NotifyIcon.Wpf&version=2.0.0 // Install Hardcodet.NotifyIcon.Wpf as a Cake Tool #tool nuget:?package=Hardcodet.NotifyIcon.Wpf&version=2.0.0
Hardcodet NotifyIcon for WPF
🚀 This is the new official repository of the Hardcodet WPF NotifyIcon 🚀
Description
This is an implementation of a NotifyIcon (aka system tray icon or taskbar icon) for the WPF platform. It does not just rely on the Windows Forms NotifyIcon component, but is a purely independent control which leverages several features of the WPF framework in order to display rich tooltips, popups, context menus, and balloon messages. It can be used directly in code or embedded in any XAML file.
Features at a glance
- Custom Popups (interactive controls) on mouse clicks.
- Customized ToolTips (Vista and above) with fallback mechanism for xp/2003.
- Rich event model including attached events to trigger animations in Popups, ToolTips, and balloon messages. I just love that.
- Full support for standard Windows balloons, including custom icons.
- Custom balloons that pop up in the tray area. Go wild with styles and animations 🙂
- Support for WPF context menus.
- You can define whether to show Popups on left-, right-, double-clicks etc. The same goes for context menus.
- Simple data binding for Popups, ToolTips and custom balloons through attached properties and derived data context.
- Command support for single / double clicks on the tray icon.
Tutorial and Support
A comprehensive tutorial that complements the attached sample application can be found on the Code Project: http://www.codeproject.com/KB/WPF/wpf_notifyicon.aspx
XAML Declaration Sample
The sample below shows some of the properties of the control. For a more comprehensive sample, have a look at the sample application that comes with the download.
<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">
<tb:TaskbarIcon x:Name="myNotifyIcon"
Visibility="Visible"
ToolTipText="Fallback ToolTip for Windows xp"
IconSource="/Images/TrayIcons/Logo.ico"
ContextMenu="{StaticResource TrayMenu}"
MenuActivation="LeftOrRightClick"
TrayPopup="{StaticResoure TrayStatusPopup}"
PopupActivation="DoubleClick"
TrayToolTip="{StaticResource TrayToolTip}"
/>
</Window>
Contributors and Thanks
Hi, I'm Philipp! This little library was originally written by me, but is currently mostly maintained by Jan Karger and Robin Krom. Big, big kudos to the two of you, and everybody else who contributed to this library. You rock!
Make sure to check out Robin's great Greenshot tool (that I use on a daily basis), and Jan's MahApps UI framework.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
net6.0-windows7.0
- No dependencies.
-
net8.0-windows7.0
- No dependencies.
NuGet packages (18)
Showing the top 5 NuGet packages that depend on Hardcodet.NotifyIcon.Wpf:
Package | Downloads |
---|---|
Hardcodet.Wpf.TaskbarNotification
THIS PACKAGE IS OBSOLETE. Please switch to the officially maintained NuGet package: Hardcodet.NotifyIcon.WPF This is an implementation of a NotifyIcon (aka system tray icon or taskbar icon) for the WPF platform. It does not just rely on the Windows Forms NotifyIcon component, but is a purely independent control which leverages several features of the WPF framework in order to display rich tooltips, popups, context menus, and balloon messages. It can be used directly in code or embedded in any XAML file. Source code and extensive sample application available at http://www.hardcodet.net/projects/wpf-notifyicon |
|
Dapplo.CaliburnMicro.NotifyIconWpf
Dapplo.CaliburnMicro.NotifyIconWpf adds Hardcodet.NotifyIcon.Wpf support to Dapplo.CaliburnMicro, a CaliburnMicro MEF Bootstrapper |
|
aemarcoWpfTools
c# wpf tools collection |
|
RingSoft.DbLookup.Controls.WPF
WPF Controls to display data outputted by RingSoft.DbLookup. Use with RingSoft.DbLookup.EfCore. |
|
Tessa.UI
TESSA library for UI applications running on Windows and using WPF. |
GitHub repositories (86)
Showing the top 5 popular GitHub repositories that depend on Hardcodet.NotifyIcon.Wpf:
Repository | Stars |
---|---|
leiurayer/downkyi
哔哩下载姬downkyi,哔哩哔哩网站视频下载工具,支持批量下载,支持8K、HDR、杜比视界,提供工具箱(音视频提取、去水印等)。
|
|
MathewSachin/Captura
Capture Screen, Audio, Cursor, Mouse Clicks and Keystrokes
|
|
JosefNemec/Playnite
Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
|
|
HMBSbige/ShadowsocksR-Windows
Ship of Theseus
|
|
canton7/SyncTrayzor
Windows tray utility / filesystem watcher / launcher for Syncthing
|