Partilhar via


TextViewOptionExtensions.IsAutoScrollEnabled(IEditorOptions) Method

Definition

Determines whether auto-scroll is enabled with the specified set of editor options.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsAutoScrollEnabled(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public:
[System::Runtime::CompilerServices::Extension]
 static bool IsAutoScrollEnabled(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static bool IsAutoScrollEnabled (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member IsAutoScrollEnabled : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> bool
<Extension()>
Public Function IsAutoScrollEnabled (options As IEditorOptions) As Boolean

Parameters

options
IEditorOptions

The set of editor options.

Returns

true if auto-scroll is enabled, otherwise false.

Applies to