IPeekResultPresentation Methods

Visual Studio 2015
 

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

NameDescription
System_CAPS_pubmethodCanSave(String^)

Can this presentation be saved?

System_CAPS_pubmethodCaptureScrollState()

Capture any information about the result prior to navigating to another frame (by using the peek navigation history or doing a recursive peek).

System_CAPS_pubmethodClose()

Closes the represenation of the Peek result. An IPeekResultPresentation for an IDocumentPeekResult would for example close the document in this method.

System_CAPS_pubmethodCreate(IPeekSession^, IPeekResultScrollState^)

Create WPF visual representation of the Peek result. An IPeekResultPresentation for an < IDocumentPeekResult would for example open document and return a WPF control of the IWpfTextViewHost.

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodScrollIntoView(IPeekResultScrollState^)

Scrolls open representation of the Peek result into view.

System_CAPS_pubmethodSetKeyboardFocus()

Sets keyboard focus to the open representation of the Peek result.

System_CAPS_pubmethodTryOpen(IPeekResult^)

Tries to open another IPeekResult while keeping the same presentation. For example document result presentation might check if otherResult represents a result in the same document and would reuse already open document.

System_CAPS_pubmethodTryPrepareToClose()

Prepare to close the presentation.

System_CAPS_pubmethodTrySave(Boolean)

Save the current version of this presentation.

Return to top
Show: