DefaultTextViewHostOptions Class

Represents common IWpfTextViewHost-related options.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Text.Editor.DefaultTextViewHostOptions

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

Syntax

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

The DefaultTextViewHostOptions type exposes the following members.

Fields

  Name Description
Public fieldStatic member ChangeTrackingId Determines whether to have the change tracking margin.
Public fieldStatic member GlyphMarginId Determines whether to have a glyph margin.
Public fieldStatic member HorizontalScrollBarId Determines whether to have a horizontal scroll bar.
Public fieldStatic member LineNumberMarginId Determines whether to have a line number margin.
Public fieldStatic member OutliningMarginId Determines whether to have an outlining margin.
Public fieldStatic member SelectionMarginId Determines whether to have a selection margin.
Public fieldStatic member VerticalScrollBarId Determines whether to have a vertical scroll bar.
Public fieldStatic member ZoomControlId Determines whether to have a zoom control.

Top

Remarks

A IWpfTextViewHost contains the IWpfTextView plus the margins and scrollbars surrounding the view.

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