Specifies a component that creates an icon in the Windows System Tray. This class cannot be inherited.
[Visual Basic] NotInheritable Public Class TrayIcon Inherits Component [C#] public sealed class TrayIcon : Component [C++] public __gc __sealed class TrayIcon : public Component [JScript] public class TrayIcon extends Component
Icons in the Windows System Tray are short cuts to processes that are running in the background of a computer, such as a virus protection program or a volume control. These processes do not come with their own user interfaces. TrayIcon provides a way to program in this functionality. Icon defines the icon that appears in the system tray. Pop-up menus for an icon are addressed with ContextMenu. Text assigns ToolTip text. In order for the icon to show up in the system tray, Visible must be set to true.
Namespace: System.WinForms
Assembly: System.WinForms.dll