private void DrawHorizontalLine(DrawingContext drawingContext) { var middleY = RenderSize.Height / 2; drawingContext.DrawGuideLineLine(MaxPen, new Point(TextWidth, middleY), new Point(RenderSize.Width - TextWidth, middleY)); }