InterLineAdornmentFactory 委托

定义

用于创建用于 InterLineAdornmentTag 的装饰的工厂。

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 

参数

tag
InterLineAdornmentTag

要为其创建装饰的标记。

view
IWpfTextView

在其中创建装饰的视图。

position
SnapshotPoint

视图中正在创建装饰的位置。

返回值

新创建的装饰。

适用于