TextViewHostOptionExtensions.IsVerticalScrollBarEnabled 方法

定义

确定是否用指定的编辑器选项集来启用垂直滚动条。

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

参数

options
IEditorOptions

编辑器选项集。

返回

Boolean

如果启用垂直滚动条,则为 true ; 否则为false

适用于