다음을 통해 공유


InterLineAdornmentTag.AdornmentFactory 속성

정의

이 태그에 대한 장식을 만들 팩터리를 가져옵니다. null일 수 있습니다.

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

속성 값

설명

이 팩터리는 이 태그가 표시하는 장식을 만드는 데 사용됩니다. 팩터리는 태그가 처음 표시될 때 한 번만 호출됩니다. 팩터리를 호출하는 경우 이 작업을 수행합니다. View에서 장식이 제거되면 RemovedCallback(null이 아닌 경우)이 호출됩니다(이때 태그도 제거됨).

팩터리에 대한 인수는 (this, v, p)입니다. 여기서 v는 장식이 표시될 보기이고 p는 보기의 TextSnapshot에 있는 표시 영역의 위치입니다.

적용 대상