IPeekResultPresentation Interface
Defines WPF visual representation of an < IPeekResult.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
| Name | Description | |
|---|---|---|
![]() | IsDirty | Determines whether or not this presentation is dirty. |
![]() | IsReadOnly | Determines whether or not this presentation is read-only. |
![]() | ZoomLevel | Gets or sets the ZoomLevel factor associated with the presentation. Represented as a percentage (100.0 == default). |
| Name | Description | |
|---|---|---|
![]() | CanSave(String) | Can this presentation be saved? |
![]() | CaptureScrollState() | Capture any information about the result prior to navigating to another frame (by using the peek navigation history or doing a recursive peek). |
![]() | Close() | Closes the represenation of the Peek result. An IPeekResultPresentation for an IDocumentPeekResult would for example close the document in this method. |
![]() | Create(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. |
![]() | Dispose() | (Inherited from IDisposable.) |
![]() | ScrollIntoView(IPeekResultScrollState) | Scrolls open representation of the Peek result into view. |
![]() | SetKeyboardFocus() | Sets keyboard focus to the open representation of the Peek result. |
![]() | TryOpen(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. |
![]() | TryPrepareToClose() | Prepare to close the presentation. |
![]() | TrySave(Boolean) | Save the current version of this presentation. |
| Name | Description | |
|---|---|---|
![]() | IsDirtyChanged | Raised when IsDirty changes. |
![]() | IsReadOnlyChanged | Raised when IsReadOnly changes. |
![]() | RecreateContent | 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.


