Udostępnij za pośrednictwem


AdornmentPositioningBehavior Enum

Definition

Defines the positioning of adornments.

public enum class AdornmentPositioningBehavior
public enum class AdornmentPositioningBehavior
enum AdornmentPositioningBehavior
public enum AdornmentPositioningBehavior
type AdornmentPositioningBehavior = 
Public Enum AdornmentPositioningBehavior
Inheritance
AdornmentPositioningBehavior

Fields

Name Value Description
OwnerControlled 0

The adornment is not moved automatically.

ViewportRelative 1

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

TextRelative 2

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

Remarks

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

Applies to