Skip to content

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.

The same element for chaining.

Sets: TrayIcon.Click