다음을 통해 공유


IWpfTextViewConnectionListener Interface

Definition

Listens to text buffers of a particular content type to find out when they are opened or closed in the text editor.

public interface class IWpfTextViewConnectionListener
public interface class IWpfTextViewConnectionListener
__interface IWpfTextViewConnectionListener
public interface IWpfTextViewConnectionListener
type IWpfTextViewConnectionListener = interface
Public Interface IWpfTextViewConnectionListener

Remarks

This is a MEF component part, and should be exported with the following attribute: [Export(typeof(IWpfTextViewConnectionListener))] [ContentType("...")] [TextViewRole("...")]

Methods

SubjectBuffersConnected(IWpfTextView, ConnectionReason, Collection<ITextBuffer>)

Called when one or more ITextBuffer objects of the appropriate IContentType are connected to a ITextView.

SubjectBuffersDisconnected(IWpfTextView, ConnectionReason, Collection<ITextBuffer>)

Called when one or more ITextBuffer objects no longer satisfy the conditions for being included in the subject buffers.

Applies to