IPeekResultPresentation Interface

Visual Studio 2015
 

Defines WPF visual representation of an < IPeekResult.

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

public interface IPeekResultPresentation : IDisposable

NameDescription
System_CAPS_pubpropertyIsDirty

Determines whether or not this presentation is dirty.

System_CAPS_pubpropertyIsReadOnly

Determines whether or not this presentation is read-only.

System_CAPS_pubpropertyZoomLevel

Gets or sets the ZoomLevel factor associated with the presentation. Represented as a percentage (100.0 == default).

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.

NameDescription
System_CAPS_pubeventIsDirtyChanged

Raised when IsDirty changes.

System_CAPS_pubeventIsReadOnlyChanged

Raised when IsReadOnly changes.

System_CAPS_pubeventRecreateContent

Raised when the content of the presentation needs to be recreated.

A visual representation of an IDocumentPeekResult for example is a WPF control of the IWpfTextViewHost containing an IWpfTextView with an open document.

Return to top
Show: