2 writes to Pen
PresentationCore (1)
Core\CSharp\system\windows\TextDecoration.cs (1)
51Pen = pen;
PresentationFramework (1)
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
169copy.Pen = pen;
15 references to Pen
PresentationCore (10)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (6)
1335if (textDecoration.Pen != null) 1337penThickness = textDecoration.Pen.Thickness; 1470if (textDecoration.Pen == null) 1491Pen textDecorationPen = textDecoration.Pen.CloneCurrentValue(); 1492if (Object.ReferenceEquals(textDecoration.Pen, textDecorationPen)) 1495textDecorationPen = textDecoration.Pen.Clone();
Core\CSharp\system\windows\TextDecoration.cs (4)
82&& (Pen == null ? textDecoration.Pen == null : Pen.Equals( textDecoration.Pen))
PresentationFramework (5)
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
163if (td.Pen == null && brush != null)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (4)
1323if (decor.Pen != null) 1325color = ColorFromBrush(decor.Pen.Brush); 1356if (decor.Pen != null) 1358lineStyle = (decor.Pen.DashStyle.Dashes.Count > 1) ? TextDecorationLineStyle.Dash : TextDecorationLineStyle.Single;