2 writes to Pen
PresentationCore (1)
System\Windows\TextDecoration.cs (1)
49Pen = pen;
PresentationFramework (1)
MS\Internal\Text\TextSpanModifier.cs (1)
161copy.Pen = pen;
15 references to Pen
PresentationCore (10)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (6)
1244if (textDecoration.Pen != null) 1246penThickness = textDecoration.Pen.Thickness; 1379if (textDecoration.Pen == null) 1400Pen textDecorationPen = textDecoration.Pen.CloneCurrentValue(); 1401if (Object.ReferenceEquals(textDecoration.Pen, textDecorationPen)) 1404textDecorationPen = textDecoration.Pen.Clone();
System\Windows\TextDecoration.cs (4)
80&& (Pen == null ? textDecoration.Pen == null : Pen.Equals( textDecoration.Pen))
PresentationFramework (5)
MS\Internal\Text\TextSpanModifier.cs (1)
155if (td.Pen == null && brush != null)
System\Windows\Controls\TextRangeAdaptor.cs (4)
1314if (decor.Pen != null) 1316color = ColorFromBrush(decor.Pen.Brush); 1347if (decor.Pen != null) 1349lineStyle = (decor.Pen.DashStyle.Dashes.Count > 1) ? TextDecorationLineStyle.Dash : TextDecorationLineStyle.Single;