Export (0) Print
Expand All

IQuickInfoSession Interface

Represents an IntelliSense session used to display Quick Info information.

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

public interface IQuickInfoSession : IIntellisenseSession, 
	IPropertyOwner

The IQuickInfoSession type exposes the following members.

  NameDescription
Public propertyApplicableToSpanGets the applicability span for this session.
Public propertyIsDismissedDetermines whether the session is dismissed. (Inherited from IIntellisenseSession.)
Public propertyPresenterGets the IIntellisensePresenter that is used to render IntelliSense for this session. (Inherited from IIntellisenseSession.)
Public propertyPropertiesGets the collection of properties controlled by the property owner. (Inherited from IPropertyOwner.)
Public propertyQuickInfoContentGets the content that will be displayed by this session.
Public propertyTextViewGets the ITextView in which this IntelliSense session was triggered. (Inherited from IIntellisenseSession.)
Public propertyTrackMouseDetermines whether this session tracks the mouse.
Top

  NameDescription
Public methodCollapseReduces the session to a minimized state. If the session has no such state, the session will be dismissed. (Inherited from IIntellisenseSession.)
Public methodDismissDismisses the session, causing the presenter to be destroyed and the session to be removed from the session stack. (Inherited from IIntellisenseSession.)
Public methodGetTriggerPoint(ITextBuffer)Gets the ITrackingPoint at which this IntelliSense session was triggered for the specified ITextBuffer. (Inherited from IIntellisenseSession.)
Public methodGetTriggerPoint(ITextSnapshot)Gets the SnapshotPoint at which this IntelliSense session was triggered in terms of the specified ITextSnapshot. (Inherited from IIntellisenseSession.)
Public methodMatchDetermines the best matching item in the session and sets the selection to this item. (Inherited from IIntellisenseSession.)
Public methodRecalculateRecalculates the underlying IntelliSense items pertaining to this session, using the same trigger point. (Inherited from IIntellisenseSession.)
Public methodStartStarts the session. (Inherited from IIntellisenseSession.)
Top

  NameDescription
Public eventApplicableToSpanChangedOccurs when the ApplicableToSpan property on this session changes.
Public eventDismissedOccurs when the session is dismissed. (Inherited from IIntellisenseSession.)
Public eventPresenterChangedOccurs when the IntelliSense presenter for this session changes. (Inherited from IIntellisenseSession.)
Public eventRecalculatedOccurs when the session is recalculated. (Inherited from IIntellisenseSession.)
Top

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

Show:
© 2014 Microsoft