2 writes to Pen
PresentationCore (1)
System\Windows\TextDecoration.cs (1)
46Pen = pen;
PresentationFramework (1)
MS\Internal\Text\TextSpanModifier.cs (1)
158copy.Pen = pen;
15 references to Pen
PresentationCore (10)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (6)
1215if (textDecoration.Pen != null) 1217penThickness = textDecoration.Pen.Thickness; 1350if (textDecoration.Pen == null) 1371Pen textDecorationPen = textDecoration.Pen.CloneCurrentValue(); 1372if (Object.ReferenceEquals(textDecoration.Pen, textDecorationPen)) 1375textDecorationPen = textDecoration.Pen.Clone();
System\Windows\TextDecoration.cs (4)
77&& (Pen == null ? textDecoration.Pen == null : Pen.Equals( textDecoration.Pen))
PresentationFramework (5)
MS\Internal\Text\TextSpanModifier.cs (1)
152if (td.Pen == null && brush != null)
System\Windows\Controls\TextRangeAdaptor.cs (4)
1311if (decor.Pen != null) 1313color = ColorFromBrush(decor.Pen.Brush); 1344if (decor.Pen != null) 1346lineStyle = (decor.Pen.DashStyle.Dashes.Count > 1) ? TextDecorationLineStyle.Dash : TextDecorationLineStyle.Single;