C# Animated Tray Icon


Animated tray icons are a useful way of alerting users of changes to your applications state. Unfortunately the .NET frameworks tray icon offering doesn’t support animation so I decided to write a reusable component that extends the tray icon to incorporate the desired functionality. Another notable feature of this implementation is that it supports the 24×24 Windows 7 tray icons as opposed to others that rely on the scaling the 16×16 size icons up.

Extending the non-extendable

The .NET TrayIcon class is sealed and therefore non-extendable so I have wrapped it (and some of it’s core properties and methods) within a new component to achieve extension.

Visual Studio Design Time Support

I have also made the component designer compliant by adding the relevant XML documentation markup and property definitions.


Download the control & sample project

Leave a Reply

Your email address will not be published. Required fields are marked *