Condividi tramite


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)

Syntax

'Dichiarazione
Public Enumeration AdornmentPositioningBehavior
public enum AdornmentPositioningBehavior
public enum class AdornmentPositioningBehavior
type AdornmentPositioningBehavior
public enum AdornmentPositioningBehavior

Members

Member name Description
OwnerControlled The adornment is not moved automatically.
ViewportRelative The adornment is positioned relative to the top left corner of the view.
TextRelative The adornment is positioned relative to the text in the view.

Remarks

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

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace