LineNumberMarginEnabled Class

Definition

Defines the option to enable the line number margin.

[Microsoft.VisualStudio.Utilities.Name("TextViewHost/LineNumberMargin")]
[System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition))]
public sealed class LineNumberMarginEnabled : Microsoft.VisualStudio.Text.Editor.ViewOptionDefinition<bool>
Inheritance
Attributes

Constructors

LineNumberMarginEnabled()

Initializes a new instance of LineNumberMarginEnabled.

Properties

Default

Gets the default value, which is false.

Key

Gets the default text view host value.

Methods

Equals(Object) Inherited from EditorOptionDefinition
GetHashCode() Inherited from EditorOptionDefinition
DefaultValue Inherited from EditorOptionDefinition<T>
IsValid(T) Inherited from EditorOptionDefinition<T>
IsValid(Object) Inherited from EditorOptionDefinition<T>
Name Inherited from EditorOptionDefinition<T>
ValueType Inherited from EditorOptionDefinition<T>
IsApplicableToScope(IPropertyOwner) Inherited from ViewOptionDefinition<T>

Extension Methods

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

Microsoft internal use only.

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

Microsoft internal use only.

Applies to