System.Windows.Forms.NotifyIcon Members

The members of System.Windows.Forms.NotifyIcon are listed below.

See Also: Inherited members from System.ComponentModel.Component

Public Constructors

Initializes a new instance of the System.Windows.Forms.NotifyIcon class.

Initializes a new instance of the System.Windows.Forms.NotifyIcon class with the specified container.

Public Properties

BalloonTipIconToolTipIcon.

Gets or sets the icon to display on the balloon tip associated with the System.Windows.Forms.NotifyIcon.

BalloonTipTextstring.

Gets or sets the text to display on the balloon tip associated with the System.Windows.Forms.NotifyIcon.

BalloonTipTitlestring.

Gets or sets the title of the balloon tip displayed on the System.Windows.Forms.NotifyIcon.

ContextMenuContextMenu.

Gets or sets the shortcut menu for the icon.

ContextMenuStripContextMenuStrip.

Gets or sets the shortcut menu associated with the System.Windows.Forms.NotifyIcon.

IconSystem.Drawing.Icon.

Gets or sets the current icon.

Tagobject.

Gets or sets an object that contains data about the System.Windows.Forms.NotifyIcon.

Textstring.

Gets or sets the ToolTip text displayed when the mouse pointer rests on a notification area icon.

Visiblebool.

Gets or sets a value indicating whether the icon is visible in the notification area of the taskbar.

Public Methods

ShowBalloonTip(int)

Displays a balloon tip in the taskbar for the specified time period.

ShowBalloonTip(int, string, string, ToolTipIcon)

Displays a balloon tip with the specified title, text, and icon in the taskbar for the specified time period.

Protected Methods

override
Dispose(bool)
Documentation for this section has not yet been entered.

Public Events

BalloonTipClicked

Occurs when the balloon tip is clicked.

BalloonTipClosed

Occurs when the balloon tip is closed by the user.

BalloonTipShown

Occurs when the balloon tip is displayed on the screen.

Click

Occurs when the user clicks the icon in the notification area.

DoubleClick

Occurs when the user double-clicks the icon in the notification area of the taskbar.

MouseClick

Occurs when the user clicks a System.Windows.Forms.NotifyIcon with the mouse.

MouseDoubleClick

Occurs when the user double-clicks the System.Windows.Forms.NotifyIcon with the mouse.

MouseDown

Occurs when the user presses the mouse button while the pointer is over the icon in the notification area of the taskbar.

MouseMove

Occurs when the user moves the mouse while the pointer is over the icon in the notification area of the taskbar.

MouseUp

Occurs when the user releases the mouse button while the pointer is over the icon in the notification area of the taskbar.