共用方式為


PredefinedTextViewRoles Class

Definition

Specifies the names of the pre-defined text view roles supplied by Visual Studio.

public ref class PredefinedTextViewRoles abstract sealed
public ref class PredefinedTextViewRoles abstract sealed
class PredefinedTextViewRoles abstract sealed
public static class PredefinedTextViewRoles
type PredefinedTextViewRoles = class
Public Class PredefinedTextViewRoles
Inheritance
PredefinedTextViewRoles

Fields

Analyzable

The predefined Analyzable role. Applies to text views of entities that can be analyzed for errors or other information (such as "quick info").

ChangePreview

The predefined role used for change previews (used by light bulbs, quick actions, etc.).

CodeDefinitionView

The predefined role used for code definition windows.

Debuggable

The predefined Debuggable role. Applies to text views of entities in which the debugger can display information at runtime.

Document

The predefined Document role. 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

The predefined Editable role. Applies to text views that can be changed using the keyboard.

EmbeddedPeekDiffTextView

The predefined role used for difference text views embedded within a containing text view.

EmbeddedPeekTextView

The predefined role used for text views embedded within a containing text view.

Interactive

The predefined Interactive role. 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

The predefined Primary Document role. Applies to text views of documents that are open for mainline editing, excluding auxiliary views of documents.

Printable

The predefined role used for printable views.

Structured

The predefined Structured role. Applies to text views of entities that have internal structure that should be exposed by editor facilities such as Outlining.

TransparentBackground

The predefined role used for view with transparent background.

Zoomable

The predefined Zoomable role. Applies to text views of entities that allow the user to perform zooming operations.

Applies to