The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PredefinedTextViewRoles Class

The set of the names of predefined text view roles.


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

public static class PredefinedTextViewRoles

The PredefinedTextViewRoles type exposes the following members.

Public fieldStatic memberAnalyzableApplies to text views of entities that can be analyzed for errors or other information (such as "quick info").
Public fieldStatic memberCodeDefinitionViewThe predefined role used for code definition windows.
Public fieldStatic memberDebuggableApplies to text views of entities in which the debugger can display information at runtime.
Public fieldStatic memberDocumentApplies 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.
Public fieldStatic memberEditableApplies to text views that can be changed using the keyboard.
Public fieldStatic memberEmbeddedPeekTextViewThe predefined role used for text views embedded within a containing text view.
Public fieldStatic memberInteractiveApplies 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.
Public fieldStatic memberPreviewTextViewThe predefined role used for the preview window created by the enhanced scroll bar.
Public fieldStatic memberPrimaryDocumentApplies to text views of documents that are open for mainline editing, excluding auxiliary views of documents.
Public fieldStatic memberStructuredApplies to text views of entities that have internal structure that should be exposed by editor facilities such as Outlining.
Public fieldStatic memberZoomableApplies to text views of entities that allow the user to perform zooming operations.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft