public void Draw(TextView textView, DrawingContext drawingContext) { var xPos = textView.TextSurfaceBounds.X + textView.CharSize.Width*120.0; drawingContext.DrawLine(new Pen(brush, 1), new Point(xPos, 0), new Point(xPos, textView.Bounds.Bottom)); }