ITextEditorFactoryService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates editor views.
public interface class ITextEditorFactoryService
public interface class ITextEditorFactoryService
__interface ITextEditorFactoryService
public interface ITextEditorFactoryService
type ITextEditorFactoryService = interface
Public Interface ITextEditorFactoryService
Remarks
This is a MEF component part, and should be imported as follows: [Import] ITextEditorFactoryService factory = null;
Properties
AllPredefinedRoles |
The set of all predefined text view roles. |
DefaultRoles |
The set of roles that are used when creating a text view without specifying text view roles. |
NoRoles |
The empty ITextViewRoleSet. |
Methods
CreateTextView() |
Creates an IWpfTextView on a newly created ITextBuffer having
content type |
CreateTextView(ITextBuffer, ITextViewRoleSet, IEditorOptions) |
Creates an IWpfTextView that displays the contents of |
CreateTextView(ITextBuffer, ITextViewRoleSet) |
Creates an IWpfTextView that displays the contents of |
CreateTextView(ITextBuffer) |
Creates an IWpfTextView that displays the contents of |
CreateTextView(ITextDataModel, ITextViewRoleSet, IEditorOptions) |
Creates an IWpfTextView that displays the contents of |
CreateTextView(ITextViewModel, ITextViewRoleSet, IEditorOptions) |
Creates an IWpfTextView that displays the contents of |
CreateTextViewHost(IWpfTextView, Boolean) |
Creates a host for the text view. |
CreateTextViewRoleSet(IEnumerable<String>) |
Creates a ITextViewRoleSet containing the given roles. |
CreateTextViewRoleSet(String[]) |
Creates a ITextViewRoleSet containing the given roles. |
Events
TextViewCreated |
Raised when any ITextView is created. |