Skip to content

TrayIconEvent

Namespace NetWiv · Assembly NetWiv.Core

public sealed record TrayIconEvent
public TrayIconEvent(TrayIconEventType Type, string Id, PhysicalPosition<double> Position, TrayIconRect Rect, MouseButton? Button = null, MouseButtonState? ButtonState = null);
public MouseButton? Button { get; init; }
public MouseButtonState? ButtonState { get; init; }
public string Id { get; init; }
public PhysicalPosition<double> Position { get; init; }
public TrayIconRect Rect { get; init; }
public TrayIconEventType Type { get; init; }
public static bool operator ==(TrayIconEvent left, TrayIconEvent right);
public static bool operator !=(TrayIconEvent left, TrayIconEvent right);