AdornmentPositioningBehavior Enumeration

 

Defines the positioning of adornments.

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

public enum AdornmentPositioningBehavior

Member nameDescription
OwnerControlled

The adornment is not moved automatically.

TextRelative

The adornment is positioned relative to the text in the view.

ViewportRelative

The adornment is positioned relative to the top left corner of the view.

For an explanation of adornments, see the "Extending Adornments" section of Editor Extension Points and the "Adornments" section of Inside the Editor.

Return to top
Show: