Partager via


MarginPlacement.KnownValues Class

Definition

Well-known MarginPlacement values for margins supplied by Visual Studio.

public static class MarginPlacement.KnownValues
type MarginPlacement.KnownValues = class
Public Class MarginPlacement.KnownValues
Inheritance
MarginPlacement.KnownValues

Properties

ChrMargin

The margin to the right of the horizontal scrollbar containing the current character index of the caret on it's given line.

ColMargin

The margin to the right of the horizontal scrollbar containing the current column location of the caret on it's given line.

FileHealthIndicator

The margin to the left of the horizontal scroll bar that hosts a file health indicator.

Glyph

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

HorizontalScrollBar

The standard horizontal scrollbar.

IndentationCharacterMargin

The margin to the right of the horizontal scrollbar describing what character gets inserted when you press tab.

InsertModeMargin

The margin to the right of the horizontal scrollbar containing the state of Insert/Overwrite mode.

LineEndingMargin

The margin to the right of the horizontal scrollbar containing the state of newlines in the view.

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

Name of the margin that shows changes in the entire file.

OverviewError

Name of the margin that shows errors in the entire file.

OverviewMark

Name of the margin that shows marks in the entire file.

OverviewSourceImage

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

RowMargin

The margin to the right of the horizontal scrollbar containing the current caret line number.

SelectionStateMargin

The margin to the right of the horizontal scrollbar containing the state of selections in the view.

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.

VerticalScrollBar

The standard vertical scrollbar.

ZoomControl

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

Applies to