共用方式為


TextViewOptionExtensions Class

Provides methods for ITextView-related options.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods.TextViewOptionExtensions

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

Syntax

'宣告
<ExtensionAttribute> _
Public NotInheritable Class TextViewOptionExtensions
public static class TextViewOptionExtensions
[ExtensionAttribute]
public ref class TextViewOptionExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type TextViewOptionExtensions =  class end
public final class TextViewOptionExtensions

The TextViewOptionExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member DoesViewProhibitUserInput Determines whether the view prohibits all user input.
Public methodStatic member IsAutoScrollEnabled Determines whether auto-scroll is enabled with the specified set of editor options.
Public methodStatic member IsDragDropEditingEnabled Determines whether the option for drag/drop editing is enabled in the specified options.
Public methodStatic member IsOutliningUndoEnabled Determines whether the option for outlining undo enabled in the specified IEditorOptions.
Public methodStatic member IsOverwriteModeEnabled Determines whether overwrite mode is enabled with the specified set of editor options.
Public methodStatic member IsViewportLeftClipped Determines whether the view's ViewportLeft property is clipped to the text width.
Public methodStatic member IsVirtualSpaceEnabled Determines whether virtual space is enabled for the specified set of editor options.
Public methodStatic member IsVisibleWhitespaceEnabled Determines whether visible whitespace is enabled with the specified set of editor options.
Public methodStatic member WordWrapStyle Gets the set of word wrap styles with the specified set of editor options.

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.OptionsExtensionMethods Namespace