C# 클래스 ICSharpCode.AvalonEdit.Folding.FoldingMargin

A margin that shows markers for foldings and allows to expand/collapse the foldings.
상속: ICSharpCode.AvalonEdit.Editing.AbstractMargin
파일 보기 프로젝트 열기: kjk/kjkpub 1 사용 예제들

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size
GetVisualChild ( int index ) : Visual
MeasureOverride ( Size availableSize ) : Size
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
OnTextViewChanged ( TextView oldTextView, TextView newTextView ) : void

비공개 메소드들

메소드 설명
CalculateFoldLinesForFoldingsActiveAtStart ( List allTextLines, System.Windows.Media.Pen colors, System.Windows.Media.Pen endMarker ) : void

Calculates fold lines for all folding sections that start in front of the current view and run into the current view.

CalculateFoldLinesForMarkers ( List allTextLines, System.Windows.Media.Pen colors, System.Windows.Media.Pen endMarker ) : void

Calculates fold lines for all folding sections that start inside the current view

DrawFoldLines ( System.Windows.Media.DrawingContext drawingContext, System.Windows.Media.Pen colors, System.Windows.Media.Pen endMarker ) : void

Draws the lines for the folding sections (vertical line with 'color', horizontal lines with 'endMarker') Each entry in the input arrays corresponds to one TextLine.

GetTextLineIndexFromOffset ( List textLines, int offset ) : int
GetVisualPos ( VisualLine vl, System.Windows.Media.TextFormatting.TextLine tl ) : double
MakeFrozenPen ( System.Windows.Media.Brush brush ) : System.Windows.Media.Pen
TextViewVisualLinesChanged ( object sender, EventArgs e ) : void

메소드 상세

ArrangeOverride() 보호된 메소드

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
리턴 System.Windows.Size

GetVisualChild() 보호된 메소드

protected GetVisualChild ( int index ) : Visual
index int
리턴 Visual

MeasureOverride() 보호된 메소드

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
리턴 System.Windows.Size

OnRender() 보호된 메소드

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
리턴 void

OnTextViewChanged() 보호된 메소드

protected OnTextViewChanged ( TextView oldTextView, TextView newTextView ) : void
oldTextView TextView
newTextView TextView
리턴 void