C# 클래스 vdextensions.CoverageMargin

A class detailing the margin's visual definition including both size and content.
상속: System.Windows.Controls.Canvas, IWpfTextViewMargin
파일 보기 프로젝트 열기: rainers/visuald 1 사용 예제들

공개 메소드들

메소드 설명
ConvertFromWin32Color ( uint color ) : Color
CoverageMargin ( IWpfTextView textView, IEditorFormatMap formatMap ) : System

Creates a CoverageMargin for a given IWpfTextView.

Dispose ( ) : void
GetTextViewMargin ( string marginName ) : ITextViewMargin

비공개 메소드들

메소드 설명
DrawLineNumbers ( ) : void
GetColors ( ) : void
GetCoverage ( string fname, int line, int data, int cnt, float &covPercent ) : bool
GetCoverageData ( string fname, int line, int data, int cnt, float &covPercent ) : bool
GetMarginWidth ( System.Windows.Media.Typeface fontTypeFace, double fontSize ) : double
OnFormatMappingChanged ( ) : void
OnLayoutChanged ( object sender, TextViewLayoutChangedEventArgs e ) : void
ThrowIfDisposed ( ) : void
toBrush ( object obj ) : SolidColorBrush

메소드 상세

ConvertFromWin32Color() 공개 정적인 메소드

public static ConvertFromWin32Color ( uint color ) : Color
color uint
리턴 Color

CoverageMargin() 공개 메소드

Creates a CoverageMargin for a given IWpfTextView.
public CoverageMargin ( IWpfTextView textView, IEditorFormatMap formatMap ) : System
textView IWpfTextView The to attach the margin to.
formatMap IEditorFormatMap
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetTextViewMargin() 공개 메소드

public GetTextViewMargin ( string marginName ) : ITextViewMargin
marginName string
리턴 ITextViewMargin