DefaultTextViewHostOptions Class
Represents common IWpfTextViewHost-related options.
Inheritance Hierarchy
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 | |
---|---|---|
ChangeTrackingId | Determines whether to have the change tracking margin. | |
ChangeTrackingMarginWidthOptionId | Determines the width of the change tracking margin. | |
ChangeTrackingMarginWidthOptionName | The name of the option that determines the width of the change tracking margin. | |
ChangeTrackingName | The name of the option that determines whether to have the change tracking margin. The change tracking margins "reset" (lose the change history) when this option is turned off. If it is turned back on, it will track changes from the time the margin is turned on. | |
ErrorMarginWidthOptionId | The option that determines whether to have the change tracking margin. The change tracking margins "reset" (lose the change history) when this option is turned off. If it is turned back on, it will track changes from the time the margin is turned on. | |
ErrorMarginWidthOptionName | The name of the option that determines whether to have the change tracking margin. The change tracking margins "reset" (lose the change history) when this option is turned off. If it is turned back on, it will track changes from the time the margin is turned on. | |
GlyphMarginId | Determines whether to have a glyph margin. | |
GlyphMarginName | The name of the option that determines whether to have a glyph margin. | |
HorizontalScrollBarId | Determines whether to have a horizontal scroll bar. | |
HorizontalScrollBarName | The name of the option that determines whether to have a horizontal scroll bar. | |
LineNumberMarginId | Determines whether to have a line number margin. | |
LineNumberMarginName | The name of the option that determines whether to have a line number margin. | |
MarkMarginWidthOptionId | Determines the width of the marks margin. | |
MarkMarginWidthOptionName | The name of the option that determines the width of the marks margin. | |
OutliningMarginId | Determines whether to have an outlining margin. | |
OutliningMarginName | The name of the option that determines whether to have an outlining margin. | |
PreviewSizeOptionId | Determines the size (in lines of text) of the default tip. | |
PreviewSizeOptionName | The name of the option that determines the size (in lines of text) of the default tip. | |
SelectionMarginId | Determines whether to have a selection margin. | |
SelectionMarginName | The name of the option that determines whether to have a selection margin. | |
ShowCaretPositionOptionId | Determines whether the vertical margin shows the location of the caret. | |
ShowCaretPositionOptionName | The name of the option that determines whether the vertical margin shows the location of the caret. | |
ShowChangeTrackingMarginOptionId | Determines whether changes are shown over the vertical scroll bar. | |
ShowChangeTrackingMarginOptionName | The name of the option that determines whether changes are shown over the vertical scroll bar. | |
ShowEnhancedScrollBarOptionId | Determines whether the vertical scroll bar is shown as a standard WPF scroll bar or the new enhanced scroll bar. | |
ShowEnhancedScrollBarOptionName | The name of the option that determines whether the vertical scroll bar is shown as a standard WPF scroll bar or the new enhanced scroll bar. | |
ShowErrorsOptionId | Determines whether errors are shown over the vertical scroll bar. | |
ShowErrorsOptionName | The name of the option that determines whether errors are shown over the vertical scroll bar. | |
ShowMarksOptionId | Determines whether marks (bookmarks, breakpoints, etc.) are shown over the vertical scroll bar. | |
ShowMarksOptionName | The name of the option that determines whether marks (bookmarks, breakpoints, etc.) are shown over the vertical scroll bar. | |
ShowPreviewOptionId | Determines whether a preview tip is shown when the mouse moves over the vertical scroll bar. | |
ShowPreviewOptionName | The name of the option that determines whether a preview tip is shown when the mouse moves over the vertical scroll bar. | |
ShowScrollBarAnnotationsOptionId | Determines whether any annotations are shown over the vertical scroll bar. | |
ShowScrollBarAnnotationsOptionName | The name of the option that determines whether any annotations are shown over the vertical scroll bar. | |
SourceImageMarginEnabledOptionId | Determines whether the source image margin is displayed. This margin is only shown if this option is set together with the ShowEnhancedScrollBarOption, and the SourceImageMarginWidth is >= 25.0. | |
SourceImageMarginEnabledOptionName | The name of the option that determines whether the source image margin is displayed. This margin is only shown if this option is set together with the ShowEnhancedScrollBarOption, and the SourceImageMarginWidth is >= 25.0. | |
SourceImageMarginWidthOptionId | Determines the width of the source image margin. | |
SourceImageMarginWidthOptionName | The name of the option that determines the width of the source image margin. | |
VerticalScrollBarId | Determines whether to have a vertical scroll bar. | |
VerticalScrollBarName | The name of the option that determines whether to have a vertical scroll bar. | |
ZoomControlId | Determines whether to have a zoom control. | |
ZoomControlName | The name of the option that destermines 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.