Share via


InterLineAdornmentFactory Delegate

Definition

Factory used to create adornments used by for the InterLineAdornmentTags.

public delegate System.Windows.UIElement InterLineAdornmentFactory(InterLineAdornmentTag tag, IWpfTextView view, SnapshotPoint position);
type InterLineAdornmentFactory = delegate of InterLineAdornmentTag * IWpfTextView * SnapshotPoint -> UIElement
Public Delegate Function InterLineAdornmentFactory(tag As InterLineAdornmentTag, view As IWpfTextView, position As SnapshotPoint) As UIElement 

Parameters

tag
InterLineAdornmentTag

The tag for which the adornment is being created.

view
IWpfTextView

The view in which the adornment is being created.

position
SnapshotPoint

The position in the view where the adornment is being created.

Return Value

The newly created adornment.

Applies to