2 writes to Pen
PresentationCore (1)
Core\CSharp\system\windows\TextDecoration.cs (1)
51
Pen
= pen;
PresentationFramework (1)
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
169
copy.
Pen
= pen;
15 references to Pen
PresentationCore (10)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (6)
1335
if (textDecoration.
Pen
!= null)
1337
penThickness = textDecoration.
Pen
.Thickness;
1470
if (textDecoration.
Pen
== null)
1491
Pen textDecorationPen = textDecoration.
Pen
.CloneCurrentValue();
1492
if (Object.ReferenceEquals(textDecoration.
Pen
, textDecorationPen))
1495
textDecorationPen = textDecoration.
Pen
.Clone();
Core\CSharp\system\windows\TextDecoration.cs (4)
82
&& (
Pen
== null ? textDecoration.
Pen
== null :
Pen
.Equals( textDecoration.
Pen
))
PresentationFramework (5)
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
163
if (td.
Pen
== null && brush != null)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (4)
1323
if (decor.
Pen
!= null)
1325
color = ColorFromBrush(decor.
Pen
.Brush);
1356
if (decor.
Pen
!= null)
1358
lineStyle = (decor.
Pen
.DashStyle.Dashes.Count > 1) ? TextDecorationLineStyle.Dash : TextDecorationLineStyle.Single;