TrayIconMarkupExtensions class
Generated fluent setters and event subscriptions for TrayIcon.
Guide: C# Markup guide
public static class TrayIconMarkupExtensionsPublic Members
Section titled “Public Members”| name | description |
|---|---|
| static Command(…) | Sets Command. The command the icon runs when activated. |
| static CommandData(…) | Sets CommandData. The value passed to Command as its invocation argument. |
| static ContextMenu(…) | Sets ContextMenu. The menu the icon opens; null for an icon without a menu. |
| static Icon(…) | Sets Icon. The icon image; null shows the application’s own icon. |
| static IsMonochromeIcon(…) | Sets IsMonochromeIcon. Whether the icon is a single-color glyph that the platform may tint to match its status bar. |
| static IsVisible(…) | Sets IsVisible. Whether the icon is shown; false by default. |
| static OnClick(…) | Subscribes handler to Click. Occurs when the platform reports a primary activation of the icon apart from opening its menu. |
| static OnDoubleClick(…) | Subscribes handler to DoubleClick. Occurs on a double click where the platform reports one; its clicks raise Click as well. |
| static OnMenuOpening(…) | Subscribes handler to MenuOpening. Occurs just before the menu opens; a handler may replace or fill ContextMenu. |
| static ToolTipText(…) | Sets ToolTipText. The text shown when the pointer rests on the icon. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Controls