IWpfDifferenceViewer Interface
A WPF-specific version of an < IDifferenceViewer, which provides access to the VisualElementused to host the viewer and the various text view hosts as IWpfTextViewHost.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
| Name | Description | |
|---|---|---|
![]() | ActiveViewType | Gets or sets the active view that last had focus.(Inherited from IDifferenceViewer.) |
![]() | AreViewsSynchronized | Determines whether the left and right views are synchronized in the side by side view.(Inherited from IDifferenceViewer.) |
![]() | DifferenceBuffer | Gets or sets the IDifferenceBuffer that this viewer is displaying.(Inherited from IDifferenceViewer.) |
![]() | InlineHost | Gets or sets the host for displaying Inline differences. |
![]() | InlineView | Gets or sets the view for displaying Inline differences |
![]() | IsClosed | Determines whether this viewer is closed.(Inherited from IDifferenceViewer.) |
![]() | IsInitialized | Determines whether this viewer has been initialized. |
![]() | LeftHost | Gets or sets the host for displaying the left buffer for SideBySide differences. |
![]() | LeftView | Gets the view for displaying the left buffer for SideBySide differences. |
![]() | Options | Gets or sets the general difference viewer options (DifferenceViewerOptions).(Inherited from IDifferenceViewer.) |
![]() | Properties | (Inherited from IPropertyOwner.) |
![]() | RightHost | Gets or sets the host for displaying the right buffer for SideBySide differences. |
![]() | RightView | Gets the view for displaying the right buffer for SideBySide differences. |
![]() | ViewMode | Gets or sets the view mode (inline or side-by-side).(Inherited from IDifferenceViewer.) |
![]() | VisualElement | Gets or sets the visual element of this viewer. |
| Name | Description | |
|---|---|---|
![]() | Close() | Closes the viewer and all contained hosts.(Inherited from IDifferenceViewer.) |
![]() | Initialize(IDifferenceBuffer, CreateTextViewHostCallback, IEditorOptions) | Initialize the DifferenceViewer, hooking it to the specified buffer and using the callback to create the text view hosts. |
![]() | ScrollToChange(Difference) | Scroll and move the caret to the start of the given difference.(Inherited from IDifferenceViewer.) |
![]() | ScrollToMatch(Match) | Scroll and move the caret to the start of the given match.(Inherited from IDifferenceViewer.) |
![]() | ScrollToNextChange(Boolean) | Given the cursor position in the last focused text view, scroll and move the caret to the next difference.(Inherited from IDifferenceViewer.) |
![]() | ScrollToNextChange(SnapshotPoint, Boolean) | Scroll and move the caret to the next difference after the specified location.(Inherited from IDifferenceViewer.) |
![]() | ScrollToPreviousChange(Boolean) | Given the cursor position in the last focused text view, scroll and move the caret to the previous difference.(Inherited from IDifferenceViewer.) |
![]() | ScrollToPreviousChange(SnapshotPoint, Boolean) | Scroll and move the caret to the previous difference before the specified location.(Inherited from IDifferenceViewer.) |
| Name | Description | |
|---|---|---|
![]() | Closed | Occurs when the view is closed.(Inherited from IDifferenceViewer.) |
![]() | ViewModeChanged | Occurs when the ViewMode changes.(Inherited from IDifferenceViewer.) |


