IWpfDifferenceViewer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A WPF-specific version of an IDifferenceViewer, which provides access to the VisualElement used to host the viewer and the various text view hosts as IWpfTextViewHost.
public interface class IWpfDifferenceViewer : Microsoft::VisualStudio::Text::Differencing::IDifferenceViewer, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface class IWpfDifferenceViewer : Microsoft::VisualStudio::Text::Differencing::IDifferenceViewer, Microsoft::VisualStudio::Utilities::IPropertyOwner
__interface IWpfDifferenceViewer : Microsoft::VisualStudio::Text::Differencing::IDifferenceViewer, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface IWpfDifferenceViewer : Microsoft.VisualStudio.Text.Differencing.IDifferenceViewer, Microsoft.VisualStudio.Utilities.IPropertyOwner
type IWpfDifferenceViewer = interface
interface IDifferenceViewer
interface IPropertyOwner
Public Interface IWpfDifferenceViewer
Implements IDifferenceViewer, IPropertyOwner
- Implements
Properties
ActiveViewType |
Identifies the active view that last had focus. (Inherited from IDifferenceViewer) |
AreViewsSynchronized |
Are the left and right views are synchronized in the side by side view. (Inherited from IDifferenceViewer) |
DifferenceBuffer |
The IDifferenceBuffer that this viewer is displaying. (Inherited from IDifferenceViewer) |
InlineHost |
The host for displaying Inline differences. |
InlineView |
The view for displaying Inline differences. |
IsClosed |
Determine if this viewer is closed. (Inherited from IDifferenceViewer) |
IsInitialized |
Has this viewer been initialized? |
LeftHost |
The host for displaying the left buffer for SideBySide differences. |
LeftView |
The view for displaying the left buffer for SideBySide differences. |
Options |
Used to get or set general difference viewer options (DifferenceViewerOptions). (Inherited from IDifferenceViewer) |
Properties |
The collection of properties controlled by the property owner. (Inherited from IPropertyOwner) |
RightHost |
The host for displaying the right buffer for SideBySide differences. |
RightView |
The view for displaying the right buffer for SideBySide differences. |
ViewMode |
The view mode (inline or side-by-side). (Inherited from IDifferenceViewer) |
VisualElement |
The visual element of this viewer. |
Methods
Close() |
Close 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) |
Events
Closed |
Raised when the view is closed. (Inherited from IDifferenceViewer) |
ViewModeChanged |
Raised when the ViewMode changes. (Inherited from IDifferenceViewer) |