This topic has not yet been rated - Rate this topic

IQuickInfoBroker Interface

Defines a Quick Info broker.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
public interface IQuickInfoBroker

The IQuickInfoBroker type exposes the following members.

  NameDescription
Public methodCreateQuickInfoSessionCreates but does not start a Quick Info session at the specified location in the ITextBuffer.
Public methodGetSessionsGets the set of active Quick Info sessions for the ITextView in which this broker operates.
Public methodIsQuickInfoActiveDetermines whether there is at least one active Quick Info session in the specified ITextView.
Public methodTriggerQuickInfo(ITextView)Triggers Quick Info at the position of the caret in the specified ITextView.
Public methodTriggerQuickInfo(ITextView, ITrackingPoint, Boolean)Triggers Quick Info at the specified position in the buffer, either tracking or not tracking the mouse.
Top

The broker is responsible for triggering Quick Info sessions. It should be imported as follows:

[Import]
internal IQuickInfoBroker QuickInfoBroker { get; set; }

For an example of the use of this interface, see Walkthrough: Displaying QuickInfo Tooltips.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.