ITextEditorFactoryService Interface

 

Creates editor views.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubpropertyAllPredefinedRoles

The set of all predefined text view roles.

System_CAPS_pubpropertyDefaultRoles

The set of roles that are used when creating a text view without specifying text view roles.

System_CAPS_pubpropertyNoRoles

The empty text view role set.

NameDescription
System_CAPS_pubmethodCreateTextView()

Creates an IWpfTextView on a newly created ITextBuffer having content type "text".

System_CAPS_pubmethodCreateTextView(ITextBuffer)

Creates an IWpfTextView that displays the contents of the specified text buffer.

System_CAPS_pubmethodCreateTextView(ITextBuffer, ITextViewRoleSet)

Creates an IWpfTextView that displays the contents of the specified text buffer.

System_CAPS_pubmethodCreateTextView(ITextBuffer, ITextViewRoleSet, IEditorOptions)

Creates an IWpfTextView that displays the contents of the specified text buffer.

System_CAPS_pubmethodCreateTextView(ITextDataModel, ITextViewRoleSet, IEditorOptions)

Creates an IWpfTextView that displays the contents of the data model.

System_CAPS_pubmethodCreateTextView(ITextViewModel, ITextViewRoleSet, IEditorOptions)

Creates an IWpfTextView that displays the contents of the specified view model.

System_CAPS_pubmethodCreateTextViewHost(IWpfTextView, Boolean)

Creates a host for the text view.

System_CAPS_pubmethodCreateTextViewRoleSet(IEnumerable<String>)

Creates a ITextViewRoleSet containing the given roles.

System_CAPS_pubmethodCreateTextViewRoleSet(String[])

Creates a ITextViewRoleSet containing the given roles.

NameDescription
System_CAPS_pubeventTextViewCreated

Raised when a ITextView is created.

This is a MEF component part, and should be imported as follows:

[Import] ITextEditorFactoryService factory = null;
Return to top
Show: