ZoomLevel Class

Definition

Defines the zoomlevel.

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

Constructors

ZoomLevel()

Properties

Default

Gets the default value.

DefaultValue

Gets the default value of the option.

(Inherited from EditorOptionDefinition<T>)
Key

Gets the key for the text view zoom level.

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