HighlightCurrentLineOption Class

Definition

Represents the option to highlight the current line.

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

Constructors

HighlightCurrentLineOption()

Initializes a new instance HighlightCurrentLineOption.

Properties

Default

Gets the default value.

DefaultValue

Gets the default value of the option.

(Inherited from EditorOptionDefinition<T>)
Key

Gets the key for the highlight current line option.

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