VisibilityChangedEventArgs.IsVisible property true if the main window has become visible public bool IsVisible { get; set; } See Also class VisibilityChangedEventArgs namespace Flow.Launcher.Plugin