MS\Internal\Documents\TextBoxView.cs (11)
37MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
692double endOfParaGlyphWidth = ((Control)_host).FontSize * CaretElement.c_endOfParaMagicMultiplier;
750CaretElement.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)
487geometry = Geometry.Combine(geometry, addedGeometry, GeometryCombineMode.Union, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute);
497geometry = Geometry.Combine(geometry, viewportGeometry, GeometryCombineMode.Intersect, null, CaretElement.c_geometryCombineTolerance, ToleranceType.Absolute);
768private static CaretElement Debug_CaretElement
1213((CaretElement)_parent).OnRenderCaretSubElement(drawingContext);