TrayIconMarkupExtensions.OnClick method
Subscribes handler to Click. Occurs when the platform reports a primary activation of the icon apart from opening its menu.
public static TrayIcon OnClick(this TrayIcon target, Action<TrayIconEventArgs> handler)| parameter | description |
|---|---|
| target | Target TrayIcon. |
| handler | Handler subscribed to Click. |
Return Value
Section titled “Return Value”The same element for chaining.
Sets: TrayIcon.Click
See Also
Section titled “See Also”- class TrayIcon
- class TrayIconEventArgs
- class TrayIconMarkupExtensions
- namespace Aprillz.MewUI.Controls