Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Public Interface IWpfDifferenceViewer _
    Inherits IDifferenceViewer, IPropertyOwner
public interface IWpfDifferenceViewer : IDifferenceViewer, 
    IPropertyOwner
public interface class IWpfDifferenceViewer : IDifferenceViewer, 
    IPropertyOwner
type IWpfDifferenceViewer =  
    interface 
        interface IDifferenceViewer 
        interface IPropertyOwner 
    end
public interface IWpfDifferenceViewer extends IDifferenceViewer, IPropertyOwner
The IWpfDifferenceViewer type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | ActiveViewType | Gets or sets the active view that last had focus. (Inherited from IDifferenceViewer.) | 
| .gif) | AreViewsSynchronized | Determines whether the left and right views are synchronized in the side by side view. (Inherited from IDifferenceViewer.) | 
| .gif) | DifferenceBuffer | Gets or sets the IDifferenceBuffer that this viewer is displaying. (Inherited from IDifferenceViewer.) | 
| .gif) | InlineHost | Gets or sets the host for displaying Inline differences. | 
| .gif) | InlineView | Gets or sets the view for displaying Inline differences | 
| .gif) | IsClosed | Determines whether this viewer is closed. (Inherited from IDifferenceViewer.) | 
| .gif) | IsInitialized | Determines whether this viewer has been initialized. | 
| .gif) | LeftHost | Gets or sets the host for displaying the left buffer for SideBySide differences. | 
| .gif) | LeftView | Gets the view for displaying the left buffer for SideBySide differences. | 
| .gif) | Options | Gets or sets the general difference viewer options (DifferenceViewerOptions). (Inherited from IDifferenceViewer.) | 
| .gif) | Properties | Gets the collection of properties controlled by the property owner. (Inherited from IPropertyOwner.) | 
| .gif) | RightHost | Gets or sets the host for displaying the right buffer for SideBySide differences. | 
| .gif) | RightView | Gets the view for displaying the right buffer for SideBySide differences. | 
| .gif) | ViewMode | Gets or sets the view mode (inline or side-by-side). (Inherited from IDifferenceViewer.) | 
| .gif) | VisualElement | Gets or sets the visual element of this viewer. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Close | Closes the viewer and all contained hosts. (Inherited from IDifferenceViewer.) | 
| .gif) | Initialize | Initialize the DifferenceViewer, hooking it to the specified buffer and using the callback to create the text view hosts. | 
| .gif) | ScrollToChange | Scroll and move the caret to the start of the given difference. (Inherited from IDifferenceViewer.) | 
| .gif) | ScrollToMatch | Scroll and move the caret to the start of the given match. (Inherited from IDifferenceViewer.) | 
| .gif) | ScrollToNextChange(Boolean) | Given the cursor position in the last focused text view, scroll and move the caret to the next difference. (Inherited from IDifferenceViewer.) | 
| .gif) | ScrollToNextChange(SnapshotPoint, Boolean) | Scroll and move the caret to the next difference after the specified location. (Inherited from IDifferenceViewer.) | 
| .gif) | ScrollToPreviousChange(Boolean) | Given the cursor position in the last focused text view, scroll and move the caret to the previous difference. (Inherited from IDifferenceViewer.) | 
| .gif) | ScrollToPreviousChange(SnapshotPoint, Boolean) | Scroll and move the caret to the previous difference before the specified location. (Inherited from IDifferenceViewer.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | Closed | Occurs when the view is closed. (Inherited from IDifferenceViewer.) | 
| .gif) | ViewModeChanged | Occurs when the ViewMode changes. (Inherited from IDifferenceViewer.) | 
Top