Share via


InterLineAdornmentTag.AdornmentFactory Property

Definition

Gets the factory to create the adornment for this tag. It may be null.

public Microsoft.VisualStudio.Text.Editor.InterLineAdornmentFactory AdornmentFactory { get; }
member this.AdornmentFactory : Microsoft.VisualStudio.Text.Editor.InterLineAdornmentFactory
Public ReadOnly Property AdornmentFactory As InterLineAdornmentFactory

Property Value

Remarks

This factory will be used to create the adornment displayed by this tag. The factory will only be called once when the tag first becomes visible. If the factory is called then this.RemovedCallback (if non-null) will be called when the adornment is removed from the view (the tag will also be removed at this time).

The arguments to the factory are (this, v, p) where v is the view in which the adornment will be displayed and p is the location of the adornment in the view's TextSnapshot.

Applies to