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