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)

public interface IWpfDifferenceViewer : IDifferenceViewer, IPropertyOwner

NameDescription
System_CAPS_pubpropertyActiveViewType

Gets or sets the active view that last had focus.(Inherited from IDifferenceViewer.)

System_CAPS_pubpropertyAreViewsSynchronized

Determines whether the left and right views are synchronized in the side by side view.(Inherited from IDifferenceViewer.)

System_CAPS_pubpropertyDifferenceBuffer

Gets or sets the IDifferenceBuffer that this viewer is displaying.(Inherited from IDifferenceViewer.)

System_CAPS_pubpropertyInlineHost

Gets or sets the host for displaying Inline differences.

System_CAPS_pubpropertyInlineView

Gets or sets the view for displaying Inline differences

System_CAPS_pubpropertyIsClosed

Determines whether this viewer is closed.(Inherited from IDifferenceViewer.)

System_CAPS_pubpropertyIsInitialized

Determines whether this viewer has been initialized.

System_CAPS_pubpropertyLeftHost

Gets or sets the host for displaying the left buffer for SideBySide differences.

System_CAPS_pubpropertyLeftView

Gets the view for displaying the left buffer for SideBySide differences.

System_CAPS_pubpropertyOptions

Gets or sets the general difference viewer options (DifferenceViewerOptions).(Inherited from IDifferenceViewer.)

System_CAPS_pubpropertyProperties

(Inherited from IPropertyOwner.)

System_CAPS_pubpropertyRightHost

Gets or sets the host for displaying the right buffer for SideBySide differences.

System_CAPS_pubpropertyRightView

Gets the view for displaying the right buffer for SideBySide differences.

System_CAPS_pubpropertyViewMode

Gets or sets the view mode (inline or side-by-side).(Inherited from IDifferenceViewer.)

System_CAPS_pubpropertyVisualElement

Gets or sets the visual element of this viewer.

NameDescription
System_CAPS_pubmethodClose()

Closes the viewer and all contained hosts.(Inherited from IDifferenceViewer.)

System_CAPS_pubmethodInitialize(IDifferenceBuffer, CreateTextViewHostCallback, IEditorOptions)

Initialize the DifferenceViewer, hooking it to the specified buffer and using the callback to create the text view hosts.

System_CAPS_pubmethodScrollToChange(Difference)

Scroll and move the caret to the start of the given difference.(Inherited from IDifferenceViewer.)

System_CAPS_pubmethodScrollToMatch(Match)

Scroll and move the caret to the start of the given match.(Inherited from IDifferenceViewer.)

System_CAPS_pubmethodScrollToNextChange(Boolean)

Given the cursor position in the last focused text view, scroll and move the caret to the next difference.(Inherited from IDifferenceViewer.)

System_CAPS_pubmethodScrollToNextChange(SnapshotPoint, Boolean)

Scroll and move the caret to the next difference after the specified location.(Inherited from IDifferenceViewer.)

System_CAPS_pubmethodScrollToPreviousChange(Boolean)

Given the cursor position in the last focused text view, scroll and move the caret to the previous difference.(Inherited from IDifferenceViewer.)

System_CAPS_pubmethodScrollToPreviousChange(SnapshotPoint, Boolean)

Scroll and move the caret to the previous difference before the specified location.(Inherited from IDifferenceViewer.)

NameDescription
System_CAPS_pubeventClosed

Occurs when the view is closed.(Inherited from IDifferenceViewer.)

System_CAPS_pubeventViewModeChanged

Occurs when the ViewMode changes.(Inherited from IDifferenceViewer.)

Return to top
Show: