WpfViewOptionExtensions.IsMouseWheelZoomEnabled(IEditorOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether to allow mouse wheel zooming
public:
[System::Runtime::CompilerServices::Extension]
static bool IsMouseWheelZoomEnabled(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public:
[System::Runtime::CompilerServices::Extension]
static bool IsMouseWheelZoomEnabled(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static bool IsMouseWheelZoomEnabled (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member IsMouseWheelZoomEnabled : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> bool
<Extension()>
Public Function IsMouseWheelZoomEnabled (options As IEditorOptions) As Boolean
Parameters
- options
- IEditorOptions
The set of editor options.
Returns
true
if the mouse wheel zooming is enabled, otherwise false
.
Remarks
Disabling the mouse wheel zooming does NOT turn off Zooming (it disables zooming using mouse wheel)