MS\Internal\Documents\TextBoxView.cs (11)
37MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
650double endOfParaGlyphWidth = ((Control)_host).FontSize * CaretElement.c_endOfParaMagicMultiplier;
708CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
1831double endOfParaGlyphWidth = ((Control)_host).FontSize * CaretElement.c_endOfParaMagicMultiplier;
2021CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2055CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2069CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2117CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2134CaretElement.AddGeometry(ref geometry, new RectangleGeometry(rect));
2148CaretElement.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
1207((CaretElement)_parent).OnRenderCaretSubElement(drawingContext);