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 | |
---|---|---|
DoesViewProhibitUserInput | Determines whether the view prohibits all user input. | |
IsAutoScrollEnabled | Determines whether auto-scroll is enabled with the specified set of editor options. | |
IsDragDropEditingEnabled | Determines whether the option for drag/drop editing is enabled in the specified options. | |
IsOutliningUndoEnabled | Determines whether the option for outlining undo enabled in the specified IEditorOptions. | |
IsOverwriteModeEnabled | Determines whether overwrite mode is enabled with the specified set of editor options. | |
IsViewportLeftClipped | Determines whether the view's ViewportLeft property is clipped to the text width. | |
IsVirtualSpaceEnabled | Determines whether virtual space is enabled for the specified set of editor options. | |
IsVisibleWhitespaceEnabled | Determines whether visible whitespace is enabled with the specified set of editor options. | |
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