DefaultTextViewOptions Class

Defines common ITextView options.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Text.Editor.DefaultTextViewOptions

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

Syntax

'Declaration
Public NotInheritable Class DefaultTextViewOptions
public static class DefaultTextViewOptions
public ref class DefaultTextViewOptions abstract sealed
[<AbstractClass>]
[<Sealed>]
type DefaultTextViewOptions =  class end
public final class DefaultTextViewOptions

The DefaultTextViewOptions type exposes the following members.

Fields

  Name Description
Public fieldStatic member AutoScrollId Determines whether the view should auto-scroll on text changes.
Public fieldStatic member AutoScrollName
Public fieldStatic member CutOrCopyBlankLineIfNoSelectionId Determines whether cut and copy causes a blank line to be cut or copied when the selection is empty.
Public fieldStatic member CutOrCopyBlankLineIfNoSelectionName
Public fieldStatic member DisplayUrlsAsHyperlinksId Determines whether URLs should be displayed as hyperlinks.
Public fieldStatic member DisplayUrlsAsHyperlinksName
Public fieldStatic member DragDropEditingId Determines whether drag/drop editing is enabled.
Public fieldStatic member DragDropEditingName
Public fieldStatic member IsViewportLeftClippedId Determines whether the view's ViewportLeft property is clipped to the text width.
Public fieldStatic member IsViewportLeftClippedName
Public fieldStatic member OutliningUndoOptionId Determines whether outlining can be undone.
Public fieldStatic member OutliningUndoOptionName
Public fieldStatic member OverwriteModeId Determines whether overwrite mode is enabled.
Public fieldStatic member OverwriteModeName
Public fieldStatic member ProduceScreenReaderFriendlyTextId Whether or not to replace the coding characters and special symbols (such as (,),{,},etc.) with their textual representation for automated objects to produce friendly text for screen readers.
Public fieldStatic member ProduceScreenReaderFriendlyTextName
Public fieldStatic member UseVirtualSpaceId Determines whether to enable virtual space in the view.
Public fieldStatic member UseVirtualSpaceName
Public fieldStatic member UseVisibleWhitespaceId Determines whether to show spaces and tabs as visible glyphs.
Public fieldStatic member UseVisibleWhitespaceName
Public fieldStatic member ViewProhibitUserInputId Determines whether to prohibit user input. The text in the view's buffer can still be modified, and other views on the same buffer may allow user input.
Public fieldStatic member ViewProhibitUserInputName
Public fieldStatic member WordWrapStyleId Gets the word wrap style for the underlying view.
Public fieldStatic member WordWrapStyleName

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace