public override void OnAfterDraw(Context c) { if (designService != null && designService.SelectedControl != null && designService.IsDesign) { var p1 = designService .SelectedControl .ParentSection .AbsolutePointByLocalPoint (line.Location.X, line.Location.Y); var p2 = designService .SelectedControl .ParentSection .AbsolutePointByLocalPoint (line.End.X, line.End.Y); c.DrawGripper(p1, (int) lineDistance); c.DrawGripper(p2, (int) lineDistance); } }