2 writes to Pen
PresentationCore (1)
System\Windows\TextDecoration.cs (1)
47Pen = pen;
PresentationFramework (1)
MS\Internal\Text\TextSpanModifier.cs (1)
159copy.Pen = pen;
15 references to Pen
PresentationCore (10)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (6)
1216if (textDecoration.Pen != null) 1218penThickness = textDecoration.Pen.Thickness; 1351if (textDecoration.Pen == null) 1372Pen textDecorationPen = textDecoration.Pen.CloneCurrentValue(); 1373if (Object.ReferenceEquals(textDecoration.Pen, textDecorationPen)) 1376textDecorationPen = textDecoration.Pen.Clone();
System\Windows\TextDecoration.cs (4)
78&& (Pen == null ? textDecoration.Pen == null : Pen.Equals( textDecoration.Pen))
PresentationFramework (5)
MS\Internal\Text\TextSpanModifier.cs (1)
153if (td.Pen == null && brush != null)
System\Windows\Controls\TextRangeAdaptor.cs (4)
1312if (decor.Pen != null) 1314color = ColorFromBrush(decor.Pen.Brush); 1345if (decor.Pen != null) 1347lineStyle = (decor.Pen.DashStyle.Dashes.Count > 1) ? TextDecorationLineStyle.Dash : TextDecorationLineStyle.Single;