PredefinedTextViewRoles Class

The set of the names of predefined text view roles.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Text.Editor.PredefinedTextViewRoles

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

Syntax

'Declaration
Public NotInheritable Class PredefinedTextViewRoles
public static class PredefinedTextViewRoles
public ref class PredefinedTextViewRoles abstract sealed
[<AbstractClass>]
[<Sealed>]
type PredefinedTextViewRoles =  class end
public final class PredefinedTextViewRoles

The PredefinedTextViewRoles type exposes the following members.

Fields

  Name Description
Public fieldStatic member Analyzable Applies to text views of entities that can be analyzed for errors or other information (such as "quick info").
Public fieldStatic member Debuggable Applies to text views of entities in which the debugger can display information at runtime.
Public fieldStatic member 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.
Public fieldStatic member Editable Applies to text views that can be changed using the keyboard.
Public fieldStatic member 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.
Public fieldStatic member PrimaryDocument Applies to text views of documents that are open for mainline editing, excluding auxiliary views of documents.
Public fieldStatic member Structured Applies to text views of entities that have internal structure that should be exposed by editor facilities such as Outlining.
Public fieldStatic member Zoomable Applies to text views of entities that allow the user to perform zooming operations.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace