Partager via


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

'Déclaration
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
Public fieldStatic member Bottom The margin below the text view.
Public fieldStatic member BottomControl A horizontal margin container in the Bottom margin that contains the HorizontalScrollBarContainer.
Public fieldStatic member Glyph The margin to the left of the text view that shows breakpoint and other glyphs.
Public fieldStatic member HorizontalScrollBar The standard horizontal scrollbar.
Public fieldStatic member HorizontalScrollBarContainer The container margin that contains the HorizontalScrollBar by default.
Public fieldStatic member Left The margin to the left of the text view.
Public fieldStatic member 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.
Public fieldStatic member LineNumber The margin to the left of the text view that shows line numbers.
Public fieldStatic member Outlining The margin to the left of the text view that allows collapsing and expansion of outlining regions.
Public fieldStatic member Right The margin to the right of the text view.
Public fieldStatic member RightControl A vertical margin container in the Right margin that contains the VerticalScrollBarContainer.
Public fieldStatic member Spacer The margin that appears between the line number and outlining margins and shows which text has changed in the current session.
Public fieldStatic member Top The margin above the text view.
Public fieldStatic member VerticalScrollBar The standard vertical scrollbar.
Public fieldStatic member VerticalScrollBarContainer The container margin that contains the VerticalScrollBar by default.
Public fieldStatic member 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.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace