Partilhar via


MouseWheelZoomEnabled Class

Definition

Defines the option to enable the mouse wheel zoom

public ref class MouseWheelZoomEnabled sealed : Microsoft::VisualStudio::Text::Editor::WpfViewOptionDefinition<bool>
public ref class MouseWheelZoomEnabled sealed : Microsoft::VisualStudio::Text::Editor::WpfViewOptionDefinition<bool>
class MouseWheelZoomEnabled sealed : Microsoft::VisualStudio::Text::Editor::WpfViewOptionDefinition<bool>
[Microsoft.VisualStudio.Utilities.Name("TextView/MouseWheelZoom")]
[System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition))]
public sealed class MouseWheelZoomEnabled : Microsoft.VisualStudio.Text.Editor.WpfViewOptionDefinition<bool>
[<Microsoft.VisualStudio.Utilities.Name("TextView/MouseWheelZoom")>]
[<System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition))>]
type MouseWheelZoomEnabled = class
    inherit WpfViewOptionDefinition<bool>
Public NotInheritable Class MouseWheelZoomEnabled
Inherits WpfViewOptionDefinition(Of Boolean)
Inheritance
Attributes

Constructors

MouseWheelZoomEnabled()

Initializes a new instance of MouseWheelZoomEnabled.

Properties

Default

Gets the default value, which is true.

DefaultValue

Gets the default value of the option.

(Inherited from EditorOptionDefinition<T>)
Key

Gets the wpf text view value.

Name

Gets the name of the option.

(Inherited from EditorOptionDefinition<T>)
ValueType

Gets the actual type of the option.

(Inherited from EditorOptionDefinition<T>)

Methods

Equals(Object)

Determines whether two EditorOptionDefinition objects are the same.

(Inherited from EditorOptionDefinition)
GetHashCode()

Gets the hash code of this type.

(Inherited from EditorOptionDefinition)
IsApplicableToScope(IPropertyOwner)

Determines whether this definition is applicable only to text views.

(Inherited from WpfViewOptionDefinition<T>)
IsValid(Object)

Determines whether the proposed value is valid.

(Inherited from EditorOptionDefinition<T>)
IsValid(T)

Determines whether the proposed value is valid.

(Inherited from EditorOptionDefinition<T>)

Applies to