ShellTextEditorControl 類別

定義

public ref class ShellTextEditorControl abstract : System::Windows::Forms::Control, IDisposable, Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrameNotify, Microsoft::VisualStudio::TextManager::Interop::IVsTextViewEvents
public abstract class ShellTextEditorControl : System.Windows.Forms.Control, IDisposable, Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrameNotify, Microsoft.VisualStudio.TextManager.Interop.IVsTextViewEvents
type ShellTextEditorControl = class
    inherit Control
    interface IDisposable
    interface IOleCommandTarget
    interface IVsWindowFrameNotify
    interface IVsTextViewEvents
Public MustInherit Class ShellTextEditorControl
Inherits Control
Implements IDisposable, IOleCommandTarget, IVsTextViewEvents, IVsWindowFrameNotify
繼承
ShellTextEditorControl
衍生
實作

建構函式

名稱 Description
ShellTextEditorControl()

欄位

名稱 Description
languageServiceDefaultGuid
languageServiceGuid
m_borderStyle
m_bWantCustomPopupMenu
m_sp
m_textBuffer
m_textCmdTarget
textWindowPane
textWndFrameNotify
TName

屬性

名稱 Description
BorderStyle
CreateParams
CurrentView
DocData
EditorHandle
FindTarget
IsEditorInstanceCreated
LanguageService
LanguageServiceDefault
TextBuffer
WantCustomPopupMenu
WithEncoding

方法

名稱 Description
ApplyLS(Guid)
CreateAndInitEditorWindow(Object)
CreateAndInitTextBuffer(Object)
CreateEditorWindow(Object)
CreateHandle()
Dispose(Boolean)
Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)
GetCoordinatesForPopupMenu(Object[], Int32, Int32)
GetParent(HandleRef)
GetParent(IntPtr)
IsWindow(IntPtr)
LoadViewState(IStream)
OnDockableChange(Int32)
OnGotFocus(EventArgs)
OnMove()
OnShow(Int32)
OnSize()
OnSizeChanged(EventArgs)
OnTextBufferCreated(ShellTextBuffer)
PrepareForHandleRecreation()
PreProcessMessage(Message)
QueryStatus(Guid, UInt32, OLECMD[], IntPtr)
Release(Object)
ResetFontAndColor(Font, Guid, Guid)
SaveViewState(IStream)
SetParent(HandleRef, HandleRef)
ShouldDistroyNativeControl()
SinkEventsAndCacheInterfaces()
UnsinkEventsAndFreeInterfaces()
VerifyBeforeInstanceProperty()
WndProc(Message)

事件

名稱 Description
ShowPopupMenu

明確介面實作

名稱 Description
IVsTextViewEvents.OnChangeCaretLine(IVsTextView, Int32, Int32)
IVsTextViewEvents.OnChangeScrollInfo(IVsTextView, Int32, Int32, Int32, Int32, Int32)
IVsTextViewEvents.OnKillFocus(IVsTextView)
IVsTextViewEvents.OnSetBuffer(IVsTextView, IVsTextLines)
IVsTextViewEvents.OnSetFocus(IVsTextView)

適用於