C# Class AvalonHelpers.LineBackgroundRenderer

Taken from http://stackoverflow.com/questions/5072761/avalonedit-highlight-current-line-even-when-not-focused.
Inheritance: IBackgroundRenderer
Show file Open project: tpetrina/FastSharp

Public Methods

Method Description
Draw ( TextView textView, System.Windows.Media.DrawingContext drawingContext ) : void
LineBackgroundRenderer ( TextEditor e ) : System

Private Methods

Method Description
Caret_PositionChanged ( object sender, EventArgs e ) : void

Method Details

Draw() public method

public Draw ( TextView textView, System.Windows.Media.DrawingContext drawingContext ) : void
textView TextView
drawingContext System.Windows.Media.DrawingContext
return void

LineBackgroundRenderer() public method

public LineBackgroundRenderer ( TextEditor e ) : System
e ICSharpCode.AvalonEdit.TextEditor
return System