C# 클래스 ICSharpCode.AvalonEdit.Rendering.VisualLineLinkText

VisualLineElement that represents a piece of text and is a clickable link.
상속: ICSharpCode.AvalonEdit.Rendering.VisualLineText
파일 보기 프로젝트 열기: kjk/kjkpub 1 사용 예제들

공개 메소드들

메소드 설명
CreateTextRun ( int startVisualColumn, ITextRunConstructionContext context ) : System.Windows.Media.TextFormatting.TextRun
VisualLineLinkText ( VisualLine parentVisualLine, int length ) : System

Creates a visual line text element with the specified length. It uses the ITextRunConstructionContext.VisualLine and its VisualLineElement.RelativeTextOffset to find the actual text string.

보호된 메소드들

메소드 설명
CreateInstance ( int length ) : ICSharpCode.AvalonEdit.Rendering.VisualLineText
OnQueryCursor ( System.Windows.Input.QueryCursorEventArgs e ) : void

비공개 메소드들

메소드 설명
LinkIsClickable ( ) : bool
OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

메소드 상세

CreateInstance() 보호된 메소드

protected CreateInstance ( int length ) : ICSharpCode.AvalonEdit.Rendering.VisualLineText
length int
리턴 ICSharpCode.AvalonEdit.Rendering.VisualLineText

CreateTextRun() 공개 메소드

public CreateTextRun ( int startVisualColumn, ITextRunConstructionContext context ) : System.Windows.Media.TextFormatting.TextRun
startVisualColumn int
context ITextRunConstructionContext
리턴 System.Windows.Media.TextFormatting.TextRun

OnQueryCursor() 보호된 메소드

protected OnQueryCursor ( System.Windows.Input.QueryCursorEventArgs e ) : void
e System.Windows.Input.QueryCursorEventArgs
리턴 void

VisualLineLinkText() 공개 메소드

Creates a visual line text element with the specified length. It uses the ITextRunConstructionContext.VisualLine and its VisualLineElement.RelativeTextOffset to find the actual text string.
public VisualLineLinkText ( VisualLine parentVisualLine, int length ) : System
parentVisualLine VisualLine
length int
리턴 System