PredefinedTextViewRoles Fields
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Analyzable | Applies to text views of entities that can be analyzed for errors or other information (such as "quick info"). |
![]() ![]() | CodeDefinitionView | The predefined role used for code definition windows. |
![]() ![]() | Debuggable | Applies to text views of entities in which the debugger can display information at runtime. |
![]() ![]() | Document | Applies to text views of entities, typically stored in files, that have a definite first line and last line. This excludes entities such as output logs or textual displays of data that are presented in a form. |
![]() ![]() | Editable | Applies to text views that can be changed using the keyboard. |
![]() ![]() | EmbeddedPeekTextView | The predefined role used for text views embedded within a containing text view. |
![]() ![]() | Interactive | Applies to text views with which the user can interact using the mouse and/or keyboard. Views that are not interactive cannot display a caret or a selection and cannot have keyboard input. |
![]() ![]() | PreviewTextView | The predefined role used for the preview window created by the enhanced scroll bar. |
![]() ![]() | PrimaryDocument | Applies to text views of documents that are open for mainline editing, excluding auxiliary views of documents. |
![]() ![]() | Printable | |
![]() ![]() | Structured | Applies to text views of entities that have internal structure that should be exposed by editor facilities such as Outlining. |
![]() ![]() | Zoomable | Applies to text views of entities that allow the user to perform zooming operations. |

