PredefinedMarginNames Class

Definition

Includes the predefined margin names.

public static class PredefinedMarginNames
Inheritance
PredefinedMarginNames

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 Language Service and Editor Extension Points.

Fields

Bottom

The margin below the text view.

BottomControl

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

BottomRightCorner

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

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.

OverviewChangeTracking
OverviewError

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

OverviewMark

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

OverviewSourceImage

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

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.

Suggestion

The margin to the left of the text view that shows suggestion glyphs such as the Light Bulb.

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.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to