PredefinedMarginNames Class

 

Includes the predefined margin names.

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

System.Object
  Microsoft.VisualStudio.Text.Editor.PredefinedMarginNames

public static class PredefinedMarginNames

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticBottom

The margin below the text view.

System_CAPS_pubfieldSystem_CAPS_staticBottomControl

A horizontal margin container in the Bottom margin that contains the HorizontalScrollBarContainer.

System_CAPS_pubfieldSystem_CAPS_staticBottomRightCorner

The margin to the right of the bottom margin and below the right margin.

System_CAPS_pubfieldSystem_CAPS_staticGlyph

The margin to the left of the text view that shows breakpoint and other glyphs.

System_CAPS_pubfieldSystem_CAPS_staticHorizontalScrollBar

System_CAPS_pubfieldSystem_CAPS_staticHorizontalScrollBarContainer

The container margin that contains the HorizontalScrollBar by default.

System_CAPS_pubfieldSystem_CAPS_staticLeft

The margin to the left of the text view.

System_CAPS_pubfieldSystem_CAPS_staticLeftSelection

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.

System_CAPS_pubfieldSystem_CAPS_staticLineNumber

The margin to the left of the text view that shows line numbers.

System_CAPS_pubfieldSystem_CAPS_staticOutlining

The margin to the left of the text view that allows collapsing and expansion of outlining regions.

System_CAPS_pubfieldSystem_CAPS_staticOverviewChangeTracking

System_CAPS_pubfieldSystem_CAPS_staticOverviewError

The name of the margin that shows errors in the entire file.

System_CAPS_pubfieldSystem_CAPS_staticOverviewMark

The name of the margin that shows marks in the entire file.

System_CAPS_pubfieldSystem_CAPS_staticOverviewSourceImage

The name of the margin that shows a zoomed-out image of the entire file.

System_CAPS_pubfieldSystem_CAPS_staticRight

The margin to the right of the text view.

System_CAPS_pubfieldSystem_CAPS_staticRightControl

A vertical margin container in the Right margin that contains the VerticalScrollBarContainer.

System_CAPS_pubfieldSystem_CAPS_staticSpacer

The margin that appears between the line number and outlining margins and shows which text has changed in the current session.

System_CAPS_pubfieldSystem_CAPS_staticSuggestion

System_CAPS_pubfieldSystem_CAPS_staticTop

The margin above the text view.

System_CAPS_pubfieldSystem_CAPS_staticVerticalScrollBar

System_CAPS_pubfieldSystem_CAPS_staticVerticalScrollBarContainer

The container margin that contains the VerticalScrollBar by default.

System_CAPS_pubfieldSystem_CAPS_staticZoomControl

The margin to the left of the horizontal scroll bar that hosts a zoom control for the view.

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: