SelectionStateMarginEnabled 类

定义

定义用于启用 SelectionStateMargin 的选项。

public ref class SelectionStateMarginEnabled sealed : Microsoft::VisualStudio::Text::Editor::ViewOptionDefinition<bool>
[Microsoft.VisualStudio.Utilities.Name("EditingState/SelectionStateMargin")]
[System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition))]
public sealed class SelectionStateMarginEnabled : Microsoft.VisualStudio.Text.Editor.ViewOptionDefinition<bool>
[<Microsoft.VisualStudio.Utilities.Name("EditingState/SelectionStateMargin")>]
[<System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition))>]
type SelectionStateMarginEnabled = class
    inherit ViewOptionDefinition<bool>
Public NotInheritable Class SelectionStateMarginEnabled
Inherits ViewOptionDefinition(Of Boolean)
继承
属性

构造函数

SelectionStateMarginEnabled()

属性

Default

获取默认值,该值为 true

DefaultValue

获取选项的默认值。

(继承自 EditorOptionDefinition<T>)
Key

获取默认文本视图宿主值。

Name

获取选项的名称。

(继承自 EditorOptionDefinition<T>)
ValueType

获取选项的实际类型。

(继承自 EditorOptionDefinition<T>)

方法

Equals(Object)

确定两个 EditorOptionDefinition 对象是否相同。

(继承自 EditorOptionDefinition)
GetHashCode()

获取此类型的哈希代码。

(继承自 EditorOptionDefinition)
IsApplicableToScope(IPropertyOwner)

确定选项是否适用于指定范围。

(继承自 ViewOptionDefinition<T>)
IsValid(Object)

确定建议的值是否有效。

(继承自 EditorOptionDefinition<T>)
IsValid(T)

确定建议的值是否有效。

(继承自 EditorOptionDefinition<T>)

适用于