ITextEditorFactoryService Interface
Creates editor views.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
| Name | Description | |
|---|---|---|
![]() | 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 text view role set. |
| Name | Description | |
|---|---|---|
![]() | CreateTextView() | Creates an IWpfTextView on a newly created ITextBuffer having content type "text". |
![]() | CreateTextView(ITextBuffer) | Creates an IWpfTextView that displays the contents of the specified text buffer. |
![]() | CreateTextView(ITextBuffer, ITextViewRoleSet) | Creates an IWpfTextView that displays the contents of the specified text buffer. |
![]() | CreateTextView(ITextBuffer, ITextViewRoleSet, IEditorOptions) | Creates an IWpfTextView that displays the contents of the specified text buffer. |
![]() | CreateTextView(ITextDataModel, ITextViewRoleSet, IEditorOptions) | Creates an IWpfTextView that displays the contents of the data model. |
![]() | CreateTextView(ITextViewModel, ITextViewRoleSet, IEditorOptions) | Creates an IWpfTextView that displays the contents of the specified view model. |
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | TextViewCreated | Raised when a ITextView is created. |
This is a MEF component part, and should be imported as follows:
[Import] ITextEditorFactoryService factory = null;


