Partager via


DefaultTextViewOptions.AutoScrollId Field

Definition

Determines whether the view should auto-scroll on text changes.

public: static initonly Microsoft::VisualStudio::Text::Editor::EditorOptionKey<bool> AutoScrollId;
static initonly Microsoft::VisualStudio::Text::Editor::EditorOptionKey<bool> AutoScrollId;
public static readonly Microsoft.VisualStudio.Text.Editor.EditorOptionKey<bool> AutoScrollId;
 staticval mutable AutoScrollId : Microsoft.VisualStudio.Text.Editor.EditorOptionKey<bool>
Public Shared ReadOnly AutoScrollId As EditorOptionKey(Of Boolean) 

Field Value

Remarks

If this option is enabled, whenever a text change occurs and the caret is on the last line, the view will be scrolled to make the caret visible.

Applies to