Share via


TextViewHostOptionExtensions.IsHorizontalScrollBarEnabled Method

Definition

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

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

Parameters

options
IEditorOptions

The set of editor options.

Returns

true if the horizontal scrollbar is enabled, otherwise false.

Applies to