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
声明
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 | |
---|---|---|
ChangeTrackingId | Determines whether to have the change tracking margin. | |
GlyphMarginId | Determines whether to have a glyph margin. | |
HorizontalScrollBarId | Determines whether to have a horizontal scroll bar. | |
LineNumberMarginId | Determines whether to have a line number margin. | |
OutliningMarginId | Determines whether to have an outlining margin. | |
SelectionMarginId | Determines whether to have a selection margin. | |
VerticalScrollBarId | Determines whether to have a vertical scroll bar. | |
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.