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