共用方式為


IWpfTextViewCreationListener Interface

Definition

Listens for when IWpfTextViews are created.

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

Remarks

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

Methods

TextViewCreated(IWpfTextView)

Called when a text view having matching roles is created over a text data model having a matching content type.

Applies to