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 | |
---|---|---|
DiffViewerCodeWindow | Initializes a new instance of the DiffViewerCodeWindow class. |
Top
Properties
Name | Description | |
---|---|---|
Content | Gets {insert text here}. (Overrides WindowPaneContent()()()().) | |
InitializationMode | (Inherited from WindowPane.) | |
LeftCodeWindow | Gets {insert text here}. | |
LeftPanel | Gets {insert text here}. | |
RightCodeWindow | Gets {insert text here}. | |
RightPanel | Gets {insert text here}. | |
Window | (Inherited from WindowPane.) | |
ZoomLevel | Gets or sets the Zoom level for the viewer between 20% to 400% |
Top
Methods
Name | Description | |
---|---|---|
Close | ||
Dispose()()()() | (Inherited from WindowPane.) | |
Dispose(Boolean) | (Inherited from WindowPane.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
Find | ||
GetBuffer | ||
GetCapabilities | ||
GetCurrentSpan | ||
GetEditorCaption | ||
GetFindState | ||
GetHashCode | (Inherited from Object.) | |
GetLastActiveView | ||
GetMatchRect | ||
GetPanes | ||
GetPrimaryView | ||
GetProperty | ||
GetSearchImage | ||
GetSecondaryView | ||
GetService | (Inherited from WindowPane.) | |
GetType | (Inherited from Object.) | |
GetViewClassID | ||
Initialize | (Overrides WindowPaneInitialize()()()().) | |
LoadUIState | (Inherited from WindowPane.) | |
MarkSpan | ||
MemberwiseClone | (Inherited from Object.) | |
NavigateTo | ||
NavigateTo2 | ||
NotifyFindTarget | ||
OnClose | (Inherited from WindowPane.) | |
OnCreate | (Inherited from WindowPane.) | |
PreProcessMessage | (Inherited from WindowPane.) | |
Replace | ||
SaveUIState | (Inherited from WindowPane.) | |
SetBaseEditorCaption | ||
SetBuffer | ||
SetFindState | ||
SetViewClassID | ||
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
GotAggregateFocus | ||
ZoomLevelChanged | Occurs when the ZoomLevel is set |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IOleCommandTargetExec | ||
IOleCommandTargetQueryStatus | ||
Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#ClosePane | Obsolete. (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#CloseUIElementPane | (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#CreatePaneWindow | Obsolete. (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#CreateUIElementPane | (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#GetDefaultSize | Obsolete. (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#GetDefaultUIElementSize | (Inherited from WindowPane.) | |
System#IServiceProvider#GetService | (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#LoadUIElementState | (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#LoadViewState | Obsolete. (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#SaveUIElementState | (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#SaveViewState | Obsolete. (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#SetSite | Obsolete. (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsUIElementPane#SetUIElementSite | (Inherited from WindowPane.) | |
Microsoft#VisualStudio#Shell#Interop#IVsWindowPane#TranslateAccelerator | Obsolete. (Inherited from WindowPane.) | |
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.