MS\Internal\Documents\TextBoxView.cs (11)
36MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
643double endOfParaGlyphWidth = ((Control)_host).FontSize * CaretElement.c_endOfParaMagicMultiplier;
701CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
1824double endOfParaGlyphWidth = ((Control)_host).FontSize * CaretElement.c_endOfParaMagicMultiplier;
2014CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2048CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2062CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2110CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2127CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2141CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
System\windows\Documents\CaretElement.cs (4)
486geometry = Geometry.Combine(geometry, addedGeometry, GeometryCombineMode.Union, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute);
496geometry = Geometry.Combine(geometry, viewportGeometry, GeometryCombineMode.Intersect, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute);
767private static CaretElement Debug_CaretElement
1206((CaretElement)_parent).OnRenderCaretSubElement(drawingContext);