Compartir a través de


TextViewHostOptionExtensions Class

Provides extension methods for options related to the IWpfTextViewHost.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods.TextViewHostOptionExtensions

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

Syntax

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

The TextViewHostOptionExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member IsChangeTrackingEnabled Determines whether change tracking is enabled with the specified set of editor options.
Public methodStatic member IsGlyphMarginEnabled Determines whether the glyph margin is enabled with the specified set of editor options.
Public methodStatic member IsHorizontalScrollBarEnabled Determines whether the horizontal scrollbar is enabled with the specified set of editor options.
Public methodStatic member IsLineNumberMarginEnabled Determines whether the line number margin is enabled with the specified set of editor options.
Public methodStatic member IsOutliningMarginEnabled Determines whether the outlining margin is enabled with the specified set of editor options.
Public methodStatic member IsSelectionMarginEnabled Determines whether the selection margin is enabled with the specified set of editor options.
Public methodStatic member IsVerticalScrollBarEnabled Determines whether the vertical scrollbar is enabled with the specified set of editor options.
Public methodStatic member IsZoomControlEnabled Determines whether the zoom control is enabled 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