src\Framework\MS\Internal\Documents\TextBoxView.cs (11)
41MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
698double endOfParaGlyphWidth = ((Control)_host).FontSize * CaretElement.c_endOfParaMagicMultiplier;
756CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
1871double endOfParaGlyphWidth = ((Control)_host).FontSize * CaretElement.c_endOfParaMagicMultiplier;
2059CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2093CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2107CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2155CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2172CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2186CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
src\Framework\System\windows\Documents\CaretElement.cs (4)
495geometry = Geometry.Combine(geometry, addedGeometry, GeometryCombineMode.Union, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute);
505geometry = Geometry.Combine(geometry, viewportGeometry, GeometryCombineMode.Intersect, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute);
774private static CaretElement Debug_CaretElement
1251((CaretElement)_parent).OnRenderCaretSubElement(drawingContext);