// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Windows; namespace ILSpy.Debugger.AvalonEdit { /// /// Content of text editor tooltip (used as ), /// specifying whether it should be displayed in a WPF Popup. /// public interface ITooltip { /// /// If true, this ITooltip will be displayed in a WPF Popup. /// Otherwise it will be displayed in a WPF Tooltip. /// WPF Popups are (unlike WPF Tooltips) focusable. /// bool ShowAsPopup { get; } /// /// Closes this tooltip. /// /// True if close request is raised /// because of mouse click on some SharpDevelop GUI element. /// True if Close succeeded (that is, can close). False otherwise. bool Close(bool mouseClick); /// /// Occurs when this tooltip decides to close. /// event RoutedEventHandler Closed; } }