ZoomControlEnabled ZoomControlEnabled ZoomControlEnabled ZoomControlEnabled Class

Definition

Defines the option to enable the zoom control.

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

Constructors

ZoomControlEnabled() ZoomControlEnabled() ZoomControlEnabled() ZoomControlEnabled()

Initializes a new instance of ZoomControlEnabled.

Properties

Default Default Default Default

Gets the default value, which is true.

DefaultValue DefaultValue DefaultValue DefaultValue

Gets the default value of the option.

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

Gets the default text view host value.

Name Name Name Name

Gets the name of the option.

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

Gets the actual type of the option.

(Inherited from EditorOptionDefinition<T>)

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether two EditorOptionDefinition objects are the same.

(Inherited from EditorOptionDefinition)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets the hash code of this type.

(Inherited from EditorOptionDefinition)
IsApplicableToScope(IPropertyOwner) IsApplicableToScope(IPropertyOwner) IsApplicableToScope(IPropertyOwner) IsApplicableToScope(IPropertyOwner)

Determines whether the option is applicable to the specified scope.

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

Determines whether the proposed value is valid.

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

Determines whether the proposed value is valid.

(Inherited from EditorOptionDefinition<T>)

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to