Partilhar via


TextViewHostOptionExtensions.IsVerticalScrollBarEnabled Method

Definition

Determines whether the vertical scrollbar is enabled with the specified set of editor options.

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

Parameters

options
IEditorOptions

The set of editor options.

Returns

true if the vertical scrollbar is enabled, otherwise false.

Applies to