public static bool ShouldHideOnClose(this TrayIcon.Behavior behavior) { return(behavior == TrayIcon.Behavior.CloseToTray || behavior == TrayIcon.Behavior.Combined); }
public static bool ShouldDisplayIcon(this TrayIcon.Behavior behavior) { return(behavior != TrayIcon.Behavior.Disabled); }
public static bool ShouldHideOnMinimize(this TrayIcon.Behavior behavior){ return behavior == TrayIcon.Behavior.MinimizeToTray || behavior == TrayIcon.Behavior.Combined; }