ViewOptionDefinition<T> Class

 

Defines a ITextView-specific editor option.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

System.Object
  Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition
    Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition<T>
      Microsoft.VisualStudio.Text.Editor.ViewOptionDefinition<T>
        Microsoft.VisualStudio.Text.Editor.AutoScrollEnabled
        Microsoft.VisualStudio.Text.Editor.ChangeTrackingMarginEnabled
        Microsoft.VisualStudio.Text.Editor.CutOrCopyBlankLineIfNoSelection
        Microsoft.VisualStudio.Text.Editor.DragDropEditing
        Microsoft.VisualStudio.Text.Editor.GlyphMarginEnabled
        Microsoft.VisualStudio.Text.Editor.HorizontalScrollBarEnabled
        Microsoft.VisualStudio.Text.Editor.IsViewportLeftClipped
        Microsoft.VisualStudio.Text.Editor.LineNumberMarginEnabled
        Microsoft.VisualStudio.Text.Editor.OutliningMarginEnabled
        Microsoft.VisualStudio.Text.Editor.OverwriteMode
        Microsoft.VisualStudio.Text.Editor.ProduceScreenReaderFriendlyText
        Microsoft.VisualStudio.Text.Editor.SelectionMarginEnabled
        Microsoft.VisualStudio.Text.Editor.SuggestionMarginEnabled
        Microsoft.VisualStudio.Text.Editor.UseVirtualSpace
        Microsoft.VisualStudio.Text.Editor.UseVisibleWhitespace
        Microsoft.VisualStudio.Text.Editor.VerticalScrollBarEnabled
        Microsoft.VisualStudio.Text.Editor.ViewProhibitUserInput
        Microsoft.VisualStudio.Text.Editor.WordWrapStyle
        Microsoft.VisualStudio.Text.Editor.ZoomControlEnabled

public abstract class ViewOptionDefinition<T> : EditorOptionDefinition<T>

Type Parameters

T

The type of the option.

NameDescription
System_CAPS_protmethodViewOptionDefinition<T>()

Initializes a new instance of ViewOptionDefinition<T>.

NameDescription
System_CAPS_pubpropertyDefault

Gets the default value of this option.(Inherited from EditorOptionDefinition<T>.)

System_CAPS_pubpropertyDefaultValue

Gets the default value of the option.(Inherited from EditorOptionDefinition<T>.)

System_CAPS_pubpropertyKey

Gets the key of this option.(Inherited from EditorOptionDefinition<T>.)

System_CAPS_pubpropertyName

Gets the name of the option.(Inherited from EditorOptionDefinition<T>.)

System_CAPS_pubpropertyValueType

Gets the actual type of the option.(Inherited from EditorOptionDefinition<T>.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether two EditorOptionDefinition objects are the same.(Inherited from EditorOptionDefinition.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Gets the hash code of this type.(Inherited from EditorOptionDefinition.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsApplicableToScope(IPropertyOwner)

Determines whether the option is applicable to the specified scope.(Overrides EditorOptionDefinition.IsApplicableToScope(IPropertyOwner).)

System_CAPS_pubmethodIsValid(Object)

Determines whether the proposed value is valid.(Inherited from EditorOptionDefinition<T>.)

System_CAPS_pubmethodIsValid(Object)

Determines whether the proposed value is valid.(Inherited from EditorOptionDefinition<T>.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

This is a MEF component part, and should be exported with:

[Export(typeof(EditorOptionDefinition))]

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: