Hardcodet.NotifyIcon.Wpf.NetCore 1.1.5

.NET 5.0 .NET Core 3.1 .NET Framework 4.5.1
Suggested Alternatives

H.NotifyIcon.Wpf

Install-Package Hardcodet.NotifyIcon.Wpf.NetCore -Version 1.1.5
dotnet add package Hardcodet.NotifyIcon.Wpf.NetCore --version 1.1.5
<PackageReference Include="Hardcodet.NotifyIcon.Wpf.NetCore" Version="1.1.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hardcodet.NotifyIcon.Wpf.NetCore --version 1.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Hardcodet.NotifyIcon.Wpf.NetCore, 1.1.5"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Hardcodet.NotifyIcon.Wpf.NetCore as a Cake Addin
#addin nuget:?package=Hardcodet.NotifyIcon.Wpf.NetCore&version=1.1.5

// Install Hardcodet.NotifyIcon.Wpf.NetCore as a Cake Tool
#tool nuget:?package=Hardcodet.NotifyIcon.Wpf.NetCore&version=1.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

H.NotifyIcon.WPF - NotifyIcon for .Net Core 3.1 and .Net 5 WPF

** The official version now supports .Net Core/.Net 5, I recommend using it - https://github.com/hardcodet/wpf-notifyicon**

Nuget Language License Requirements Requirements Build Status

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.

Nuget

NuGet

Install-Package Hardcodet.NotifyIcon.Wpf.NetCore

Usage

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>

Features

  • 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

Product Versions
.NET net5.0 net5.0-windows net5.0-windows7.0 net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net6.0-windows7.0
.NET Core netcoreapp3.1
.NET Framework net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (13)

Showing the top 5 popular GitHub repositories that depend on Hardcodet.NotifyIcon.Wpf.NetCore:

Repository Stars
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
ModernFlyouts-Community/ModernFlyouts
A modern Fluent Design replacement for the old Metro themed flyouts present in Windows.
ThePBone/GalaxyBudsClient
Unofficial Galaxy Buds Manager for Windows and Linux
csutorasa/XOutput
DirectInput to XInput wrapper
Artemis-RGB/Artemis
Provides advanced unified lighting across many different brands RGB peripherals
Version Downloads Last updated
1.1.5 508 2/25/2022
1.0.18 29,888 1/21/2021
1.0.17 2,258 1/9/2021
1.0.16 414 1/9/2021
1.0.15 229 1/9/2021
1.0.14 6,357 10/29/2020
1.0.13 4,980 7/12/2020
1.0.12 327 7/12/2020
1.0.11 4,658 6/17/2020
1.0.10 4,102 12/30/2019
1.0.9-gb1dad14791 288 12/30/2019

⭐ Last 10 features:
- feat: Added rough implementation for WinUI. 2022-02-25
- feat: To auto-releasing. 2022-02-23
- feat: Added WinUI project. 2022-02-23
- feat(WPF): Added WpfAnalyzers. 2022-02-23
- feat: Moved some platform agnostic extensions to .Net Standard library. 2022-01-29
- feat(ci): to reusable workflow. 2022-01-29
- feat: Updated to .Net 6. 2022-01-29
- feat: To .csproj AssemblyInfo. 2022-01-29
- feat: Updated to latest. 2022-01-29
- feat: To H.NotifyIcon core Interop package. 2021-01-22

🐞 Last 10 bug fixes:
- fix: Fixed CI. 2022-02-25
- fix: Fixed WPF0150. 2022-02-23