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.
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 | |
---|---|---|
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 | Gets the collection of properties controlled by the property owner. (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. |
Top
Methods
Name | Description | |
---|---|---|
Close | Closes the viewer and all contained hosts. (Inherited from IDifferenceViewer.) | |
Initialize | Initialize the DifferenceViewer, hooking it to the specified buffer and using the callback to create the text view hosts. | |
ScrollToChange | Scroll and move the caret to the start of the given difference. (Inherited from IDifferenceViewer.) | |
ScrollToMatch | 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.) |
Top
Events
Name | Description | |
---|---|---|
Closed | Occurs when the view is closed. (Inherited from IDifferenceViewer.) | |
ViewModeChanged | Occurs when the ViewMode changes. (Inherited from IDifferenceViewer.) |
Top