DiffViewerCodeWindow Class

This is an IVsCodeWindow wrapper around a diff viewer. It works by forwarding calls on to the active code window within the diff viewer (inline, left, or right). It also manages the lifetime of the code windows and the left/right documents that are opened in these code windows.

Inheritance Hierarchy

System..::..Object
  WindowPane
    Microsoft.VisualStudio.Data.Tools.Delta.VSDelta..::..DiffViewerCodeWindow

Namespace:  Microsoft.VisualStudio.Data.Tools.Delta.VSDelta
Assembly:  Microsoft.VisualStudio.Data.Tools.Delta (in Microsoft.VisualStudio.Data.Tools.Delta.dll)

Syntax

'Declaration
Public Class DiffViewerCodeWindow _
    Inherits WindowPane _
    Implements IOleCommandTarget, IVsCodeWindow, IVsFindTarget, IVsFindTarget2
'Usage
Dim instance As DiffViewerCodeWindow
public class DiffViewerCodeWindow : WindowPane, 
    IOleCommandTarget, IVsCodeWindow, IVsFindTarget, IVsFindTarget2
public ref class DiffViewerCodeWindow : public WindowPane, 
    IOleCommandTarget, IVsCodeWindow, IVsFindTarget, IVsFindTarget2
type DiffViewerCodeWindow =  
    class
        inherit WindowPane
        interface IOleCommandTarget
        interface IVsCodeWindow
        interface IVsFindTarget
        interface IVsFindTarget2
    end
public class DiffViewerCodeWindow extends WindowPane implements IOleCommandTarget, IVsCodeWindow, IVsFindTarget, IVsFindTarget2

The DiffViewerCodeWindow type exposes the following members.

Constructors

  Name Description
Public method DiffViewerCodeWindow Initializes a new instance of the DiffViewerCodeWindow class.

Top

Properties

  Name Description
Public property Content Gets {insert text here}. (Overrides WindowPaneContent()()()().)
Protected property InitializationMode (Inherited from WindowPane.)
Public property LeftCodeWindow Gets {insert text here}.
Public property LeftPanel Gets {insert text here}.
Public property RightCodeWindow Gets {insert text here}.
Public property RightPanel Gets {insert text here}.
Public property Window (Inherited from WindowPane.)
Public property ZoomLevel Gets or sets the Zoom level for the viewer between 20% to 400%

Top

Methods

  Name Description
Public method Close
Public method Dispose()()()() (Inherited from WindowPane.)
Protected method Dispose(Boolean) (Inherited from WindowPane.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Find
Public method GetBuffer
Public method GetCapabilities
Public method GetCurrentSpan
Public method GetEditorCaption
Public method GetFindState
Public method GetHashCode (Inherited from Object.)
Public method GetLastActiveView
Public method GetMatchRect
Public method GetPanes
Public method GetPrimaryView
Public method GetProperty
Public method GetSearchImage
Public method GetSecondaryView
Protected method GetService (Inherited from WindowPane.)
Public method GetType (Inherited from Object.)
Public method GetViewClassID
Protected method Initialize (Overrides WindowPaneInitialize()()()().)
Public method LoadUIState (Inherited from WindowPane.)
Public method MarkSpan
Protected method MemberwiseClone (Inherited from Object.)
Public method NavigateTo
Public method NavigateTo2
Public method NotifyFindTarget
Protected method OnClose (Inherited from WindowPane.)
Protected method OnCreate (Inherited from WindowPane.)
Protected method PreProcessMessage (Inherited from WindowPane.)
Public method Replace
Public method SaveUIState (Inherited from WindowPane.)
Public method SetBaseEditorCaption
Public method SetBuffer
Public method SetFindState
Public method SetViewClassID
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event GotAggregateFocus
Public event ZoomLevelChanged Occurs when the ZoomLevel is set

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IOleCommandTargetExec
Explicit interface implemetationPrivate method IOleCommandTargetQueryStatus
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#ClosePane Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#CloseUIElementPane (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#CreatePaneWindow Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#CreateUIElementPane (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#GetDefaultSize Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#GetDefaultUIElementSize (Inherited from WindowPane.)
Explicit interface implemetationPrivate method System#IServiceProvider#GetService (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#LoadUIElementState (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#LoadViewState Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#SaveUIElementState (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#SaveViewState Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#SetSite Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#SetUIElementSite (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#TranslateAccelerator Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#TranslateUIElementAccelerator (Inherited from WindowPane.)

Top

Remarks

IVsFindTarget.GetSearchImage has a workaround for Dev10 #924323.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Data.Tools.Delta.VSDelta Namespace