MS\Internal\Documents\TextBoxView.cs (11)
39MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
694double endOfParaGlyphWidth = ((Control)_host).FontSize * CaretElement.c_endOfParaMagicMultiplier;
752CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
1873double endOfParaGlyphWidth = ((Control)_host).FontSize * CaretElement.c_endOfParaMagicMultiplier;
2063CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2097CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2111CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2159CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2176CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2190CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
System\windows\Documents\CaretElement.cs (4)
491geometry = Geometry.Combine(geometry, addedGeometry, GeometryCombineMode.Union, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute);
501geometry = Geometry.Combine(geometry, viewportGeometry, GeometryCombineMode.Intersect, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute);
770private static CaretElement Debug_CaretElement
1218((CaretElement)_parent).OnRenderCaretSubElement(drawingContext);