PredefinedMarginNames Class
Includes the predefined margin names.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Text.Editor.PredefinedMarginNames
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Dichiarazione
Public NotInheritable Class PredefinedMarginNames
public static class PredefinedMarginNames
public ref class PredefinedMarginNames abstract sealed
[<AbstractClass>]
[<Sealed>]
type PredefinedMarginNames = class end
public final class PredefinedMarginNames
The PredefinedMarginNames type exposes the following members.
Fields
Name | Description | |
---|---|---|
Bottom | The margin below the text view. | |
BottomControl | A horizontal margin container in the Bottom margin that contains the HorizontalScrollBarContainer. | |
Glyph | The margin to the left of the text view that shows breakpoint and other glyphs. | |
HorizontalScrollBar | The standard horizontal scrollbar. | |
HorizontalScrollBarContainer | The container margin that contains the HorizontalScrollBar by default. | |
Left | The margin to the left of the text view. | |
LeftSelection | The margin to the left of the text view that implements mouse handlers for line selection. This behavior is inherited by margins contained in the left selection margin. | |
LineNumber | The margin to the left of the text view that shows line numbers. | |
Outlining | The margin to the left of the text view that allows collapsing and expansion of outlining regions. | |
Right | The margin to the right of the text view. | |
RightControl | A vertical margin container in the Right margin that contains the VerticalScrollBarContainer. | |
Spacer | The margin that appears between the line number and outlining margins and shows which text has changed in the current session. | |
Top | The margin above the text view. | |
VerticalScrollBar | The standard vertical scrollbar. | |
VerticalScrollBarContainer | The container margin that contains the VerticalScrollBar by default. | |
ZoomControl | The margin to the left of the horizontal scroll bar that hosts a zoom control for the view. |
Top
Remarks
For more information about margins, see the "Margins" section of Inside the Editor. For information about extending margins and scrollbars, see the "Extending Margins and Scrollbars" section in Editor Extension Points.
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.