Condividi tramite


IVsDifferenceCodeWindow Interface

Definition

An IVsCodeWindow built around a difference between two files.

public interface class IVsDifferenceCodeWindow : Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow
public interface class IVsDifferenceCodeWindow : Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow
__interface IVsDifferenceCodeWindow : Microsoft::VisualStudio::TextManager::Interop::IVsCodeWindow
public interface IVsDifferenceCodeWindow : Microsoft.VisualStudio.TextManager.Interop.IVsCodeWindow
type IVsDifferenceCodeWindow = interface
    interface IVsCodeWindow
Public Interface IVsDifferenceCodeWindow
Implements IVsCodeWindow
Derived
Implements

Remarks

This is a MEF Component and can be imported as follows:

[Import]  
IVsDifferenceCodeWindowFactoryService differenceCodeWindowFactoryService;  

Properties

Caption

The caption for the diff window's document tab..

Control

The FrameworkElement that contains the difference view.

DifferenceViewer

The IWpfDifferenceViewer used by this code window.

InlineLabel

The label displayed above the inline view.

LeftLabel

The label displayed above the left view.

RightLabel

The label displayed above the right view.

SideBySideLabel

The label displayed above the side by side.

Tooltip

The tooltip for the diff window's document tab..

Methods

Close()

Closes the code window.

(Inherited from IVsCodeWindow)
GetBuffer(IVsTextLines)

Returns the buffer used by all views in the code window.

(Inherited from IVsCodeWindow)
GetEditorCaption(READONLYSTATUS, String)

Returns the editor caption to which editors can append custom text.

(Inherited from IVsCodeWindow)
GetLastActiveView(IVsTextView)

Returns the last active view of the code window.

(Inherited from IVsCodeWindow)
GetPrimaryView(IVsTextView)

Returns the top (or primary) view of a split code window.

(Inherited from IVsCodeWindow)
GetSecondaryView(IVsTextView)

Returns the bottom (or secondary) view of a split code window.

(Inherited from IVsCodeWindow)
GetViewClassID(Guid)

Returns the text view class to change or query.

(Inherited from IVsCodeWindow)
SetBaseEditorCaption(String[])

Appends custom text to the editor caption

(Inherited from IVsCodeWindow)
SetBuffer(IVsTextLines)

Sets the text buffer for all views in the code window.

(Inherited from IVsCodeWindow)
SetViewClassID(Guid)

Sets the text view class to change or query.

(Inherited from IVsCodeWindow)

Applies to