196 instantiations of Pen
Microsoft.CodeAnalysis.EditorFeatures.Wpf (7)
ConflictTagDefinition.cs (1)
27
this.Border = new
Pen
(Brushes.Red, thickness: 1.5);
InlineRename\HighlightTags\RenameConflictTagDefinition.cs (1)
28
this.Border = new
Pen
(Brushes.Red, thickness: StrokeThickness) { DashStyle = new DashStyle(StrokeDashArray, 0) };
InlineRename\HighlightTags\RenameFieldBackgroundAndBorderTagDefinition.cs (1)
27
this.Border = new
Pen
(new SolidColorBrush(Color.FromRgb(0xFF, 0xFF, 0xFF)), thickness: 2.0);
InlineRename\HighlightTags\RenameFixupTagDefinition.cs (1)
28
this.Border = new
Pen
(Brushes.Green, thickness: StrokeThickness) { DashStyle = new DashStyle(StrokeDashArray, 0) };
PreviewWarningTagDefinition.cs (1)
27
this.Border = new
Pen
(new SolidColorBrush(Color.FromRgb(230, 117, 64)), thickness: 1.5);
ReferenceHighlighting\DefinitionHighlightTagDefinition.cs (1)
27
this.Border = new
Pen
(new SolidColorBrush(Colors.Gray), 0.5);
RenameTracking\RenameTrackingTagDefinition.cs (1)
27
this.Border = new
Pen
(Brushes.Black, thickness: 1.0) { DashStyle = new DashStyle(new[] { 0.5, 4.0 }, 1) };
PresentationCore (1)
System\Windows\Media\Generated\Pen.cs (1)
327
return new
Pen
();
PresentationFramework (45)
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
37
_adornerBorderPen = new
Pen
(Brushes.Black, 1.0);
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
33
_adornerBorderPen = new
Pen
(Brushes.Black, 1.0);
41
_adornerPenBrush = new
Pen
(new SolidColorBrush(Color.FromRgb(132, 146, 222)), 1);
63
Pen squareCapPen = new
Pen
(Brushes.Black, LineThickness)
89
_hatchPen = new
Pen
(tileBrush, HatchBorderMargin);
MS\Internal\Documents\TextBoxLine.cs (1)
221
ctx.DrawGeometry(selectionBrush, new
Pen
() { Brush = selectionBrush }, selectionGeometry);
MS\Internal\Ink\LassoHelper.cs (1)
305
_pen = new
Pen
(new SolidColorBrush(DotCircumferenceColor), DotCircumferenceThickness)
MS\Internal\Ink\PenCursorManager.cs (1)
454
Pen pen1 = new
Pen
(Brushes.Gray, 0.7);
MS\Internal\PtsHost\ParagraphVisual.cs (4)
88
Pen pen = new
Pen
112
pen = new
Pen
125
pen = new
Pen
138
pen = new
Pen
MS\Internal\PtsHost\SectionVisual.cs (1)
106
Pen pen = new
Pen
(columnRuleBrush, ruleWidth);
MS\Internal\Text\TextSpanModifier.cs (1)
156
pen = new
Pen
(brush, 1);
System\Windows\Controls\Border.cs (4)
406
pen = new
Pen
471
pen = new
Pen
505
pen = new
Pen
538
pen = new
Pen
System\Windows\Controls\Grid.cs (2)
3966
s_oddDashPen = new
Pen
(Brushes.Blue, c_penWidth);
3974
s_evenDashPen = new
Pen
(Brushes.Yellow, c_penWidth);
System\Windows\Controls\Primitives\TickBar.cs (1)
430
Pen pen = new
Pen
(Fill, 1.0d);
System\Windows\Documents\ColumnResizeAdorner.cs (1)
36
_pen = new
Pen
(new SolidColorBrush(Colors.LightSlateGray), 2.0);
System\Windows\Documents\CompositionAdorner.cs (1)
182
Pen pen = new
Pen
(new SolidColorBrush(Colors.Black), lineHeight);
System\Windows\Documents\FixedPage.cs (3)
1249
Pen pen = new
Pen
(Brushes.Green, 1);
1258
Pen backgroundPen = new
Pen
(Brushes.Black,1);
1277
Pen backgroundPen = new
Pen
(Brushes.Black,1);
System\Windows\Documents\FixedPageStructure.cs (7)
222
Pen pen = new
Pen
(Brushes.Blue, 1);
323
Pen pen = new
Pen
(Brushes.DarkMagenta, 1.5);
357
Pen pen = new
Pen
(Brushes.DarkMagenta, 1.5);
390
Pen pen = new
Pen
(Brushes.Red, 0.5);
562
Pen pen = new
Pen
(Brushes.Blue, 2);
647
Pen pen = new
Pen
(Brushes.Red, 1);
662
Pen backgroundPen = new
Pen
(Brushes.Black,1);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
147
Pen pen = new
Pen
(Brushes.Blue, 2);
System\Windows\Documents\FixedSOMGroup.cs (1)
152
Pen pen = new
Pen
(Brushes.Maroon, 3);
System\Windows\Documents\FixedSOMImage.cs (1)
91
Pen pen = new
Pen
(Brushes.Yellow, 1);
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
79
Pen backgroundPen = new
Pen
(Brushes.Black,1);
System\Windows\Documents\FixedSOMTable.cs (1)
39
Pen pen = new
Pen
(Brushes.Green, 5);
System\Windows\Documents\FixedSOMTableCell.cs (1)
42
Pen pen = new
Pen
(Brushes.Red, 2);
System\Windows\Documents\FixedSOMTextRun.cs (1)
186
Pen pen = new
Pen
(Brushes.Blue, 1);
System\Windows\Documents\SpellerHighlightLayer.cs (2)
150
Pen pen = new
Pen
(Brushes.Red, 0.33);
172
new
Pen
(brush, 3),
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8204
DefaultConstructor = delegate () { return new System.Windows.Media.
Pen
(); }
System\Windows\Markup\KnownTypes.cs (1)
1441
case KnownElements.Pen: o = new System.Windows.Media.
Pen
(); break;
System\Windows\Shapes\Shape.cs (1)
485
_pen = new
Pen
PresentationFramework.Aero (40)
Microsoft\Windows\Themes\BulletChrome.cs (23)
812
Pen commonPen = new
Pen
(border, 1);
837
pen = new
Pen
(border, 1);
921
Pen temp = new
Pen
947
Pen temp = new
Pen
974
Pen temp = new
Pen
999
Pen temp = new
Pen
1023
Pen temp = new
Pen
1060
Pen temp = new
Pen
1096
Pen temp = new
Pen
1416
Pen temp = new
Pen
1440
Pen temp = new
Pen
1464
Pen temp = new
Pen
1488
Pen temp = new
Pen
1523
Pen temp = new
Pen
1558
Pen temp = new
Pen
1593
Pen temp = new
Pen
1628
Pen temp = new
Pen
1663
Pen temp = new
Pen
1698
Pen temp = new
Pen
1733
Pen temp = new
Pen
1769
Pen temp = new
Pen
1803
Pen temp = new
Pen
1837
Pen temp = new
Pen
Microsoft\Windows\Themes\ButtonChrome.cs (7)
567
Pen commonPen = new
Pen
(border, 1);
592
pen = new
Pen
(border, 1);
822
Pen temp = new
Pen
846
Pen temp = new
Pen
871
Pen temp = new
Pen
943
Pen temp = new
Pen
978
Pen temp = new
Pen
Microsoft\Windows\Themes\ListBoxChrome.cs (5)
439
Pen commonPen = new
Pen
(border, 1);
464
pen = new
Pen
(border, 1);
535
Pen temp = new
Pen
572
Pen temp = new
Pen
609
Pen temp = new
Pen
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1105
Pen temp = new
Pen
1131
Pen temp = new
Pen
1157
Pen temp = new
Pen
1238
Pen temp = new
Pen
1313
Pen temp = new
Pen
PresentationFramework.Aero2 (40)
Microsoft\Windows\Themes\BulletChrome.cs (23)
812
Pen commonPen = new
Pen
(border, 1);
837
pen = new
Pen
(border, 1);
921
Pen temp = new
Pen
947
Pen temp = new
Pen
974
Pen temp = new
Pen
999
Pen temp = new
Pen
1023
Pen temp = new
Pen
1060
Pen temp = new
Pen
1096
Pen temp = new
Pen
1416
Pen temp = new
Pen
1440
Pen temp = new
Pen
1464
Pen temp = new
Pen
1488
Pen temp = new
Pen
1523
Pen temp = new
Pen
1558
Pen temp = new
Pen
1593
Pen temp = new
Pen
1628
Pen temp = new
Pen
1663
Pen temp = new
Pen
1698
Pen temp = new
Pen
1733
Pen temp = new
Pen
1769
Pen temp = new
Pen
1803
Pen temp = new
Pen
1837
Pen temp = new
Pen
Microsoft\Windows\Themes\ButtonChrome.cs (7)
567
Pen commonPen = new
Pen
(border, 1);
592
pen = new
Pen
(border, 1);
822
Pen temp = new
Pen
846
Pen temp = new
Pen
871
Pen temp = new
Pen
943
Pen temp = new
Pen
978
Pen temp = new
Pen
Microsoft\Windows\Themes\ListBoxChrome.cs (5)
439
Pen commonPen = new
Pen
(border, 1);
464
pen = new
Pen
(border, 1);
535
Pen temp = new
Pen
572
Pen temp = new
Pen
609
Pen temp = new
Pen
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1105
Pen temp = new
Pen
1131
Pen temp = new
Pen
1157
Pen temp = new
Pen
1238
Pen temp = new
Pen
1313
Pen temp = new
Pen
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
366
Pen temp = new
Pen
392
Pen temp = new
Pen
418
Pen temp = new
Pen
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (2)
1336
dc.DrawGeometry(DarkDarkBrush, new
Pen
(DarkBrush, 1.0), TopLeftArcGeometry);
1337
dc.DrawGeometry(LightBrush, new
Pen
(LightLightBrush, 1.0), BottomRightArcGeometry);
PresentationFramework.Luna (37)
Microsoft\Windows\Themes\ButtonChrome.cs (12)
560
Pen temp = new
Pen
(brush, 1);
584
Pen temp = new
Pen
(brush, 1);
609
Pen temp = new
Pen
(brush, 1);
662
Pen commonPen = new
Pen
(brush, 1);
687
pen = new
Pen
(brush, 1);
718
Pen temp = new
Pen
(brush, 1.3333333333);
761
Pen temp = new
Pen
(brush, 2.6666666667);
794
Pen temp = new
Pen
(brush, 2.6666666667);
827
Pen temp = new
Pen
(brush, 2.6666666667);
860
Pen temp = new
Pen
(brush, 2.6666666667);
893
Pen temp = new
Pen
(brush, 2.6666666667);
927
Pen temp = new
Pen
(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
207
tabStroke = new
Pen
(tabStrokeBrush, 1.0);
Microsoft\Windows\Themes\ScrollChrome.cs (19)
1937
Pen temp = new
Pen
1961
Pen temp = new
Pen
1985
Pen temp = new
Pen
2009
Pen temp = new
Pen
2033
Pen temp = new
Pen
2092
Pen temp = new
Pen
2116
Pen temp = new
Pen
2142
Pen temp = new
Pen
2166
Pen temp = new
Pen
2190
Pen temp = new
Pen
2214
Pen temp = new
Pen
2238
Pen temp = new
Pen
2263
Pen temp = new
Pen
2287
Pen temp = new
Pen
2311
Pen temp = new
Pen
2336
Pen temp = new
Pen
2408
Pen temp = new
Pen
();
2442
Pen temp = new
Pen
();
2476
Pen temp = new
Pen
();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
399
Pen commonPen = new
Pen
(border, 1);
424
pen = new
Pen
(border, 1);
678
Pen temp = new
Pen
702
Pen temp = new
Pen
736
Pen temp = new
Pen
PresentationFramework.Royale (16)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
475
Pen temp = new
Pen
(brush, 1);
521
Pen commonPen = new
Pen
(brush, 1);
546
pen = new
Pen
(brush, 1);
577
Pen temp = new
Pen
(brush, 1.3333333333);
620
Pen temp = new
Pen
(brush, 2.6666666667);
654
Pen temp = new
Pen
(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
136
tabStroke = new
Pen
(tabStrokeBrush, 1.0);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
1023
Pen temp = new
Pen
();
1055
Pen temp = new
Pen
1079
Pen temp = new
Pen
1119
Pen temp = new
Pen
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
399
Pen commonPen = new
Pen
(border, 1);
424
pen = new
Pen
(border, 1);
678
Pen temp = new
Pen
702
Pen temp = new
Pen
736
Pen temp = new
Pen
ReachFramework (2)
AlphaFlattener\Flattener.cs (2)
1025
Pen black = new
Pen
(Brushes.Black, 0.8)
1050
Pen pen = new
Pen
(Brushes.Blue, 0.8)
Roslyn.VisualStudio.DiagnosticsWindow (1)
VenusMargin\ProjectionSpanTagDefinition.cs (1)
24
this.Border = new
Pen
(Brushes.DarkBlue, thickness: 1.5);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
246
_separatorPen = new
Pen
(b, 1.0);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
340
_separatorPen = new
Pen
(b, 1.0);
712 references to Pen
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
116
return (Brush)(properties["Foreground"] ?? ((
Pen
)properties["MarkerFormatDefinition/BorderId"]).Brush);
PresentationCore (147)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1372
Pen
textDecorationPen = textDecoration.Pen.CloneCurrentValue();
System\Windows\Generated\TextDecoration.cs (3)
66
public
Pen
Pen
70
return (
Pen
) GetValue(PenProperty);
270
typeof(
Pen
),
System\Windows\Media\BoundsDrawingContextWalker.cs (10)
67
Pen
pen,
71
if (
Pen
.ContributesToBounds(pen))
105
Pen
pen,
108
if ((brush != null) ||
Pen
.ContributesToBounds(pen))
151
Pen
pen,
156
if ((brush != null) ||
Pen
.ContributesToBounds(pen))
201
Pen
pen,
206
if ((brush != null) ||
Pen
.ContributesToBounds(pen))
241
Pen
pen,
244
if ((geometry != null) && ((brush != null) ||
Pen
.ContributesToBounds(pen)))
System\Windows\Media\CombinedGeometry.cs (2)
119
internal override Rect GetBoundsInternal(
Pen
pen, Matrix matrix, double tolerance, ToleranceType type)
134
internal override bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
System\Windows\Media\DrawingDrawingContext.cs (10)
38
Pen
pen,
61
Pen
pen,
137
Pen
pen,
165
Pen
pen,
242
Pen
pen,
282
Pen
pen,
377
Pen
pen,
419
Pen
pen,
503
Pen
pen,
1287
private void AddNewGeometryDrawing(Brush brush,
Pen
pen, Geometry geometry)
System\Windows\Media\EllipseGeometry.cs (4)
123
internal override Rect GetBoundsInternal(
Pen
pen, Matrix matrix, double tolerance, ToleranceType type)
140
internal static Rect GetBoundsHelper(
Pen
pen, Matrix worldMatrix, Point center, double radiusX, double radiusY,
150
if (
Pen
.ContributesToBounds(pen))
188
internal override bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
System\Windows\Media\Generated\DrawingContext.cs (9)
32
Pen
pen,
47
Pen
pen,
69
Pen
pen,
89
Pen
pen,
117
Pen
pen,
149
Pen
pen,
183
Pen
pen,
217
Pen
pen,
241
Pen
pen,
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (9)
32
Pen
pen,
54
Pen
pen,
84
Pen
pen,
111
Pen
pen,
146
Pen
pen,
187
Pen
pen,
232
Pen
pen,
275
Pen
pen,
310
Pen
pen,
System\Windows\Media\Generated\DrawingContextWalker.cs (9)
32
Pen
pen,
50
Pen
pen,
75
Pen
pen,
98
Pen
pen,
129
Pen
pen,
164
Pen
pen,
201
Pen
pen,
238
Pen
pen,
265
Pen
pen,
System\Windows\Media\Generated\GeometryDrawing.cs (10)
120
Pen
oldV = (
Pen
) e.OldValue;
121
Pen
newV = (
Pen
) e.NewValue;
210
public
Pen
Pen
214
return (
Pen
) GetValue(PenProperty);
279
Pen
vPen = Pen;
310
Pen
vPen = Pen;
331
Pen
vPen = Pen;
443
typeof(
Pen
),
System\Windows\Media\Generated\Pen.cs (21)
32
public new
Pen
Clone()
34
return (
Pen
)base.Clone();
41
public new
Pen
CloneCurrentValue()
43
return (
Pen
)base.CloneCurrentValue();
74
Pen
target = ((
Pen
) d);
103
Pen
target = ((
Pen
) d);
110
Pen
target = ((
Pen
) d);
117
Pen
target = ((
Pen
) d);
124
Pen
target = ((
Pen
) d);
131
Pen
target = ((
Pen
) d);
138
Pen
target = ((
Pen
) d);
160
Pen
target = ((
Pen
) d);
550
Type typeofThis = typeof(
Pen
);
System\Windows\Media\Generated\RenderData.cs (18)
1142
(
Pen
)DependentLookup(data->hPen),
1154
(data->hPen == 0) ? null : (
Pen
)DependentLookup(data->hPen),
1167
(
Pen
)DependentLookup(data->hPen),
1179
(data->hPen == 0) ? null : (
Pen
)DependentLookup(data->hPen),
1191
(
Pen
)DependentLookup(data->hPen),
1205
(data->hPen == 0) ? null : (
Pen
)DependentLookup(data->hPen),
1219
(
Pen
)DependentLookup(data->hPen),
1233
(data->hPen == 0) ? null : (
Pen
)DependentLookup(data->hPen),
1247
(
Pen
)DependentLookup(data->hPen),
1482
(
Pen
)DependentLookup(data->hPen),
1494
(
Pen
)DependentLookup(data->hPen),
1509
(
Pen
)DependentLookup(data->hPen),
1521
(
Pen
)DependentLookup(data->hPen),
1534
(
Pen
)DependentLookup(data->hPen),
1548
(
Pen
)DependentLookup(data->hPen),
1565
(
Pen
)DependentLookup(data->hPen),
1579
(
Pen
)DependentLookup(data->hPen),
1596
(
Pen
)DependentLookup(data->hPen),
System\Windows\Media\Generated\RenderDataDrawingContext.cs (9)
29
Pen
pen,
78
Pen
pen,
140
Pen
pen,
194
Pen
pen,
259
Pen
pen,
327
Pen
pen,
406
Pen
pen,
476
Pen
pen,
545
Pen
pen,
System\Windows\Media\Geometry.cs (14)
85
public virtual Rect GetRenderBounds(
Pen
pen, double tolerance, ToleranceType type)
97
public Rect GetRenderBounds(
Pen
pen)
124
internal virtual Rect GetBoundsInternal(
Pen
pen, Matrix matrix, double tolerance, ToleranceType type)
146
internal Rect GetBoundsInternal(
Pen
pen, Matrix matrix)
153
Pen
pen,
168
bool fPenContributesToBounds =
Pen
.ContributesToBounds(pen);
362
public bool StrokeContains(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
379
internal virtual bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
444
internal unsafe bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type,
494
public bool StrokeContains(
Pen
pen, Point hitPoint)
556
public IntersectionDetail StrokeContainsWithDetail(
Pen
pen, Geometry geometry, double tolerance, ToleranceType type)
573
public IntersectionDetail StrokeContainsWithDetail(
Pen
pen, Geometry geometry)
665
public virtual PathGeometry GetWidenedPathGeometry(
Pen
pen, double tolerance, ToleranceType type)
755
public PathGeometry GetWidenedPathGeometry(
Pen
pen)
System\Windows\Media\GeometryDrawing.cs (1)
36
public GeometryDrawing(Brush brush,
Pen
pen, Geometry geometry)
System\Windows\Media\HitTestDrawingContextWalker.cs (4)
46
Pen
pen,
70
Pen
pen,
101
Pen
pen,
136
Pen
pen,
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
104
Pen
pen,
System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
68
Pen
pen,
System\Windows\Media\LineGeometry.cs (3)
73
internal override Rect GetBoundsInternal(
Pen
pen, Matrix worldMatrix, double tolerance, ToleranceType type)
89
internal static Rect GetBoundsHelper(
Pen
pen, Matrix worldMatrix, Point pt1, Point pt2,
122
internal override bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
System\Windows\Media\PathGeometry.cs (2)
714
Pen
pen,
746
Pen
pen,
System\Windows\Media\Pen.cs (1)
146
Pen
pen)
System\Windows\Media\RectangleGeometry.cs (4)
155
internal override Rect GetBoundsInternal(
Pen
pen, Matrix worldMatrix, double tolerance, ToleranceType type)
172
internal static Rect GetBoundsHelper(
Pen
pen, Matrix worldMatrix, Rect rect, double radiusX, double radiusY,
188
if (
Pen
.ContributesToBounds(pen))
231
internal override bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
System\Windows\TextDecoration.cs (1)
40
Pen
pen,
PresentationFramework (60)
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
170
private
Pen
_adornerBorderPen;
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
63
Pen
squareCapPen = new Pen(Brushes.Black, LineThickness)
431
private
Pen
_adornerBorderPen;
432
private
Pen
_adornerPenBrush;
434
private
Pen
_hatchPen;
MS\Internal\Ink\LassoHelper.cs (1)
25
Pen
_pen = null;
MS\Internal\Ink\PenCursorManager.cs (1)
454
Pen
pen1 = new Pen(Brushes.Gray, 0.7);
MS\Internal\PtsHost\ParagraphVisual.cs (1)
88
Pen
pen = new Pen
MS\Internal\PtsHost\SectionVisual.cs (1)
106
Pen
pen = new Pen(columnRuleBrush, ruleWidth);
MS\Internal\Text\TextSpanModifier.cs (1)
149
Pen
pen = null;
System\Windows\Controls\Border.cs (13)
403
Pen
pen = LeftPenCache;
802
private static readonly UncommonField<
Pen
> LeftPenField = new UncommonField<
Pen
>();
803
private static readonly UncommonField<
Pen
> RightPenField = new UncommonField<
Pen
>();
804
private static readonly UncommonField<
Pen
> TopPenField = new UncommonField<
Pen
>();
805
private static readonly UncommonField<
Pen
> BottomPenField = new UncommonField<
Pen
>();
847
private
Pen
LeftPenCache
867
private
Pen
RightPenCache
887
private
Pen
TopPenCache
907
private
Pen
BottomPenCache
System\Windows\Controls\Grid.cs (2)
4034
private static readonly
Pen
s_oddDashPen; // first pen to draw dash
4035
private static readonly
Pen
s_evenDashPen; // second pen to draw dash
System\Windows\Controls\Primitives\TickBar.cs (1)
430
Pen
pen = new Pen(Fill, 1.0d);
System\windows\Documents\CaretElement.cs (1)
136
Pen
selectionOutlinePen = null;
System\Windows\Documents\ColumnResizeAdorner.cs (1)
185
private
Pen
_pen;
System\Windows\Documents\CompositionAdorner.cs (2)
167
Pen
selectionPen = null;
182
Pen
pen = new Pen(new SolidColorBrush(Colors.Black), lineHeight);
System\Windows\Documents\FixedPage.cs (3)
1249
Pen
pen = new Pen(Brushes.Green, 1);
1258
Pen
backgroundPen = new Pen(Brushes.Black,1);
1277
Pen
backgroundPen = new Pen(Brushes.Black,1);
System\Windows\Documents\FixedPageStructure.cs (8)
211
private void DrawRectOutline(DrawingContext dc,
Pen
pen, Rect rect)
222
Pen
pen = new Pen(Brushes.Blue, 1);
323
Pen
pen = new Pen(Brushes.DarkMagenta, 1.5);
357
Pen
pen = new Pen(Brushes.DarkMagenta, 1.5);
390
Pen
pen = new Pen(Brushes.Red, 0.5);
562
Pen
pen = new Pen(Brushes.Blue, 2);
647
Pen
pen = new Pen(Brushes.Red, 1);
662
Pen
backgroundPen = new Pen(Brushes.Black,1);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
147
Pen
pen = new Pen(Brushes.Blue, 2);
System\Windows\Documents\FixedSOMGroup.cs (1)
152
Pen
pen = new Pen(Brushes.Maroon, 3);
System\Windows\Documents\FixedSOMImage.cs (1)
91
Pen
pen = new Pen(Brushes.Yellow, 1);
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
79
Pen
backgroundPen = new Pen(Brushes.Black,1);
System\Windows\Documents\FixedSOMTable.cs (1)
39
Pen
pen = new Pen(Brushes.Green, 5);
System\Windows\Documents\FixedSOMTableCell.cs (1)
42
Pen
pen = new Pen(Brushes.Red, 2);
System\Windows\Documents\FixedSOMTextRun.cs (1)
186
Pen
pen = new Pen(Brushes.Blue, 1);
System\Windows\Documents\SpellerHighlightLayer.cs (1)
150
Pen
pen = new Pen(Brushes.Red, 0.33);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
544
case 450: t = () => typeof(
Pen
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
8408
Type type = typeof(System.Windows.Media.
Pen
);
8409
DependencyProperty dp = System.Windows.Media.
Pen
.LineJoinProperty;
8411
this.GetXamlType(typeof(System.Windows.Media.
Pen
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8201
typeof(System.Windows.Media.
Pen
),
System\Windows\Markup\KnownTypes.cs (1)
5998
case KnownElements.Pen: t = typeof(System.Windows.Media.
Pen
); break;
System\Windows\Shapes\Ellipse.cs (1)
185
Pen
pen = GetPen();
System\Windows\Shapes\Rectangle.cs (1)
233
Pen
pen = GetPen();
System\Windows\Shapes\Shape.cs (3)
469
internal
Pen
GetPen()
692
Pen
pen = GetPen();
768
private
Pen
_pen = null;
PresentationFramework.Aero (143)
Microsoft\Windows\Themes\BulletChrome.cs (79)
686
Pen
innerBorder = InnerBorderPen;
703
Pen
innerBorder = InnerBorderPen;
749
Pen
pen = GetBorderPen(BorderBrush);
750
Pen
overlayPen = BorderOverlayPen;
783
private static
Pen
GetBorderPen(Brush border)
785
Pen
pen = null;
812
Pen
commonPen = new Pen(border, 1);
911
private static
Pen
CommonCheckMarkStroke
921
Pen
temp = new Pen
937
private static
Pen
CommonCheckMarkPressedStroke
947
Pen
temp = new Pen
964
private static
Pen
CommonRadioButtonDisabledGlyphStroke
974
Pen
temp = new Pen
989
private static
Pen
CommonRadioButtonGlyphStroke
999
Pen
temp = new Pen
1013
private static
Pen
CommonIndeterminateHighlight
1023
Pen
temp = new Pen
1050
private static
Pen
CommonIndeterminateHoverHighlight
1060
Pen
temp = new Pen
1086
private static
Pen
CommonIndeterminatePressedHighlight
1096
Pen
temp = new Pen
1120
private
Pen
HighlightStroke
1406
private static
Pen
CommonHoverBorderOverlay
1416
Pen
temp = new Pen
1430
private static
Pen
CommonPressedBorderOverlay
1440
Pen
temp = new Pen
1454
private static
Pen
CommonDisabledBorderOverlay
1464
Pen
temp = new Pen
1478
private static
Pen
CommonCheckBoxDisabledInnerBorderPen
1488
Pen
temp = new Pen
1513
private static
Pen
CommonCheckBoxInnerBorderPen
1523
Pen
temp = new Pen
1548
private static
Pen
CommonCheckBoxHoverInnerBorderPen
1558
Pen
temp = new Pen
1583
private static
Pen
CommonCheckBoxPressedInnerBorderPen
1593
Pen
temp = new Pen
1618
private static
Pen
CommonIndeterminateDisabledInnerBorderPen
1628
Pen
temp = new Pen
1653
private static
Pen
CommonIndeterminateInnerBorderPen
1663
Pen
temp = new Pen
1688
private static
Pen
CommonIndeterminateHoverInnerBorderPen
1698
Pen
temp = new Pen
1723
private static
Pen
CommonIndeterminatePressedInnerBorderPen
1733
Pen
temp = new Pen
1759
private static
Pen
CommonRadioButtonInnerBorderPen
1769
Pen
temp = new Pen
1793
private static
Pen
CommonRadioButtonHoverInnerBorderPen
1803
Pen
temp = new Pen
1827
private static
Pen
CommonRadioButtonPressedInnerBorderPen
1837
Pen
temp = new Pen
2160
private
Pen
GlyphStroke
2325
private
Pen
BorderOverlayPen
2362
private
Pen
InnerBorderPen
2449
private static
Pen
_commonCheckMarkStroke;
2450
private static
Pen
_commonCheckMarkPressedStroke;
2454
private static
Pen
_commonRadioButtonDisabledGlyphStroke;
2455
private static
Pen
_commonRadioButtonGlyphStroke;
2466
private static
Pen
_commonIndeterminateInnerBorderPen;
2467
private static
Pen
_commonIndeterminateHoverInnerBorderPen;
2468
private static
Pen
_commonIndeterminatePressedInnerBorderPen;
2469
private static
Pen
_commonIndeterminateDisabledInnerBorderPen;
2471
private static
Pen
_commonIndeterminateHighlight;
2472
private static
Pen
_commonIndeterminateHoverHighlight;
2473
private static
Pen
_commonIndeterminatePressedHighlight;
2475
private static
Pen
_commonBorderPen;
2476
private static
Pen
_commonCheckBoxInnerBorderPen;
2477
private static
Pen
_commonRadioButtonInnerBorderPen;
2480
private static
Pen
_commonDisabledBorderOverlay;
2482
private static
Pen
_commonCheckBoxDisabledInnerBorderPen;
2485
private static
Pen
_commonHoverBorderOverlay;
2486
private static
Pen
_commonCheckBoxHoverInnerBorderPen;
2487
private static
Pen
_commonRadioButtonHoverInnerBorderPen;
2491
private static
Pen
_commonPressedBorderOverlay;
2492
private static
Pen
_commonCheckBoxPressedInnerBorderPen;
2493
private static
Pen
_commonRadioButtonPressedInnerBorderPen;
2504
public
Pen
BorderOverlayPen;
2505
public
Pen
InnerBorderPen;
2508
public
Pen
HighlightStroke;
2509
public
Pen
GlyphStroke;
Microsoft\Windows\Themes\ButtonChrome.cs (24)
541
Pen
pen = null;
567
Pen
commonPen = new Pen(border, 1);
601
Pen
overlayPen = BorderOverlayPen;
655
Pen
innerBorder = InnerBorderPen;
812
private static
Pen
CommonHoverBorderOverlay
822
Pen
temp = new Pen
836
private static
Pen
CommonPressedBorderOverlay
846
Pen
temp = new Pen
861
private static
Pen
CommonDisabledBorderOverlay
871
Pen
temp = new Pen
885
private
Pen
BorderOverlayPen
933
private static
Pen
CommonInnerBorderPen
943
Pen
temp = new Pen
968
private static
Pen
CommonDefaultedInnerBorderPen
978
Pen
temp = new Pen
994
private
Pen
InnerBorderPen
1165
private static
Pen
_commonBorderPen;
1166
private static
Pen
_commonInnerBorderPen;
1168
private static
Pen
_commonDisabledBorderOverlay;
1171
private static
Pen
_commonDefaultedInnerBorderPen;
1174
private static
Pen
_commonHoverBorderOverlay;
1178
private static
Pen
_commonPressedBorderOverlay;
1192
public
Pen
BorderOverlayPen;
1193
public
Pen
InnerBorderPen;
Microsoft\Windows\Themes\ListBoxChrome.cs (17)
367
Pen
pen = GetBorderPen(BorderBrush);
368
Pen
overlayPen = BorderOverlayPen;
411
private static
Pen
GetBorderPen(Brush border)
413
Pen
pen = null;
439
Pen
commonPen = new Pen(border, 1);
525
private static
Pen
CommonHoverBorderOverlay
535
Pen
temp = new Pen
562
private static
Pen
CommonFocusedBorderOverlay
572
Pen
temp = new Pen
599
private static
Pen
CommonDisabledBorderOverlay
609
Pen
temp = new Pen
642
private
Pen
BorderOverlayPen
678
private static
Pen
_commonBorderPen;
680
private static
Pen
_commonDisabledBorderOverlay;
681
private static
Pen
_commonHoverBorderOverlay;
682
private static
Pen
_commonFocusedBorderOverlay;
692
public
Pen
BorderOverlayPen;
Microsoft\Windows\Themes\ScrollChrome.cs (23)
464
Pen
pen = Shadow;
483
Pen
pen = OuterBorder;
1095
private static
Pen
CommonThumbOuterBorder
1105
Pen
temp = new Pen
1121
private static
Pen
CommonThumbHoverOuterBorder
1131
Pen
temp = new Pen
1147
private static
Pen
CommonThumbPressedOuterBorder
1157
Pen
temp = new Pen
1173
private
Pen
OuterBorder
1228
private static
Pen
CommonThumbInnerBorder
1238
Pen
temp = new Pen
1257
private
Pen
InnerBorder
1303
private static
Pen
CommonThumbShadow
1313
Pen
temp = new Pen
1332
private
Pen
Shadow
1846
private static
Pen
_commonThumbOuterBorder;
1847
private static
Pen
_commonThumbInnerBorder;
1848
private static
Pen
_commonThumbShadow;
1855
private static
Pen
_commonThumbHoverOuterBorder;
1861
private static
Pen
_commonThumbPressedOuterBorder;
1881
public
Pen
OuterBorder;
1882
public
Pen
InnerBorder;
1883
public
Pen
Shadow;
PresentationFramework.Aero2 (143)
Microsoft\Windows\Themes\BulletChrome.cs (79)
686
Pen
innerBorder = InnerBorderPen;
703
Pen
innerBorder = InnerBorderPen;
749
Pen
pen = GetBorderPen(BorderBrush);
750
Pen
overlayPen = BorderOverlayPen;
783
private static
Pen
GetBorderPen(Brush border)
785
Pen
pen = null;
812
Pen
commonPen = new Pen(border, 1);
911
private static
Pen
CommonCheckMarkStroke
921
Pen
temp = new Pen
937
private static
Pen
CommonCheckMarkPressedStroke
947
Pen
temp = new Pen
964
private static
Pen
CommonRadioButtonDisabledGlyphStroke
974
Pen
temp = new Pen
989
private static
Pen
CommonRadioButtonGlyphStroke
999
Pen
temp = new Pen
1013
private static
Pen
CommonIndeterminateHighlight
1023
Pen
temp = new Pen
1050
private static
Pen
CommonIndeterminateHoverHighlight
1060
Pen
temp = new Pen
1086
private static
Pen
CommonIndeterminatePressedHighlight
1096
Pen
temp = new Pen
1120
private
Pen
HighlightStroke
1406
private static
Pen
CommonHoverBorderOverlay
1416
Pen
temp = new Pen
1430
private static
Pen
CommonPressedBorderOverlay
1440
Pen
temp = new Pen
1454
private static
Pen
CommonDisabledBorderOverlay
1464
Pen
temp = new Pen
1478
private static
Pen
CommonCheckBoxDisabledInnerBorderPen
1488
Pen
temp = new Pen
1513
private static
Pen
CommonCheckBoxInnerBorderPen
1523
Pen
temp = new Pen
1548
private static
Pen
CommonCheckBoxHoverInnerBorderPen
1558
Pen
temp = new Pen
1583
private static
Pen
CommonCheckBoxPressedInnerBorderPen
1593
Pen
temp = new Pen
1618
private static
Pen
CommonIndeterminateDisabledInnerBorderPen
1628
Pen
temp = new Pen
1653
private static
Pen
CommonIndeterminateInnerBorderPen
1663
Pen
temp = new Pen
1688
private static
Pen
CommonIndeterminateHoverInnerBorderPen
1698
Pen
temp = new Pen
1723
private static
Pen
CommonIndeterminatePressedInnerBorderPen
1733
Pen
temp = new Pen
1759
private static
Pen
CommonRadioButtonInnerBorderPen
1769
Pen
temp = new Pen
1793
private static
Pen
CommonRadioButtonHoverInnerBorderPen
1803
Pen
temp = new Pen
1827
private static
Pen
CommonRadioButtonPressedInnerBorderPen
1837
Pen
temp = new Pen
2160
private
Pen
GlyphStroke
2325
private
Pen
BorderOverlayPen
2362
private
Pen
InnerBorderPen
2449
private static
Pen
_commonCheckMarkStroke;
2450
private static
Pen
_commonCheckMarkPressedStroke;
2454
private static
Pen
_commonRadioButtonDisabledGlyphStroke;
2455
private static
Pen
_commonRadioButtonGlyphStroke;
2466
private static
Pen
_commonIndeterminateInnerBorderPen;
2467
private static
Pen
_commonIndeterminateHoverInnerBorderPen;
2468
private static
Pen
_commonIndeterminatePressedInnerBorderPen;
2469
private static
Pen
_commonIndeterminateDisabledInnerBorderPen;
2471
private static
Pen
_commonIndeterminateHighlight;
2472
private static
Pen
_commonIndeterminateHoverHighlight;
2473
private static
Pen
_commonIndeterminatePressedHighlight;
2475
private static
Pen
_commonBorderPen;
2476
private static
Pen
_commonCheckBoxInnerBorderPen;
2477
private static
Pen
_commonRadioButtonInnerBorderPen;
2480
private static
Pen
_commonDisabledBorderOverlay;
2482
private static
Pen
_commonCheckBoxDisabledInnerBorderPen;
2485
private static
Pen
_commonHoverBorderOverlay;
2486
private static
Pen
_commonCheckBoxHoverInnerBorderPen;
2487
private static
Pen
_commonRadioButtonHoverInnerBorderPen;
2491
private static
Pen
_commonPressedBorderOverlay;
2492
private static
Pen
_commonCheckBoxPressedInnerBorderPen;
2493
private static
Pen
_commonRadioButtonPressedInnerBorderPen;
2504
public
Pen
BorderOverlayPen;
2505
public
Pen
InnerBorderPen;
2508
public
Pen
HighlightStroke;
2509
public
Pen
GlyphStroke;
Microsoft\Windows\Themes\ButtonChrome.cs (24)
541
Pen
pen = null;
567
Pen
commonPen = new Pen(border, 1);
601
Pen
overlayPen = BorderOverlayPen;
655
Pen
innerBorder = InnerBorderPen;
812
private static
Pen
CommonHoverBorderOverlay
822
Pen
temp = new Pen
836
private static
Pen
CommonPressedBorderOverlay
846
Pen
temp = new Pen
861
private static
Pen
CommonDisabledBorderOverlay
871
Pen
temp = new Pen
885
private
Pen
BorderOverlayPen
933
private static
Pen
CommonInnerBorderPen
943
Pen
temp = new Pen
968
private static
Pen
CommonDefaultedInnerBorderPen
978
Pen
temp = new Pen
994
private
Pen
InnerBorderPen
1165
private static
Pen
_commonBorderPen;
1166
private static
Pen
_commonInnerBorderPen;
1168
private static
Pen
_commonDisabledBorderOverlay;
1171
private static
Pen
_commonDefaultedInnerBorderPen;
1174
private static
Pen
_commonHoverBorderOverlay;
1178
private static
Pen
_commonPressedBorderOverlay;
1192
public
Pen
BorderOverlayPen;
1193
public
Pen
InnerBorderPen;
Microsoft\Windows\Themes\ListBoxChrome.cs (17)
367
Pen
pen = GetBorderPen(BorderBrush);
368
Pen
overlayPen = BorderOverlayPen;
411
private static
Pen
GetBorderPen(Brush border)
413
Pen
pen = null;
439
Pen
commonPen = new Pen(border, 1);
525
private static
Pen
CommonHoverBorderOverlay
535
Pen
temp = new Pen
562
private static
Pen
CommonFocusedBorderOverlay
572
Pen
temp = new Pen
599
private static
Pen
CommonDisabledBorderOverlay
609
Pen
temp = new Pen
642
private
Pen
BorderOverlayPen
678
private static
Pen
_commonBorderPen;
680
private static
Pen
_commonDisabledBorderOverlay;
681
private static
Pen
_commonHoverBorderOverlay;
682
private static
Pen
_commonFocusedBorderOverlay;
692
public
Pen
BorderOverlayPen;
Microsoft\Windows\Themes\ScrollChrome.cs (23)
464
Pen
pen = Shadow;
483
Pen
pen = OuterBorder;
1095
private static
Pen
CommonThumbOuterBorder
1105
Pen
temp = new Pen
1121
private static
Pen
CommonThumbHoverOuterBorder
1131
Pen
temp = new Pen
1147
private static
Pen
CommonThumbPressedOuterBorder
1157
Pen
temp = new Pen
1173
private
Pen
OuterBorder
1228
private static
Pen
CommonThumbInnerBorder
1238
Pen
temp = new Pen
1257
private
Pen
InnerBorder
1303
private static
Pen
CommonThumbShadow
1313
Pen
temp = new Pen
1332
private
Pen
Shadow
1846
private static
Pen
_commonThumbOuterBorder;
1847
private static
Pen
_commonThumbInnerBorder;
1848
private static
Pen
_commonThumbShadow;
1855
private static
Pen
_commonThumbHoverOuterBorder;
1861
private static
Pen
_commonThumbPressedOuterBorder;
1881
public
Pen
OuterBorder;
1882
public
Pen
InnerBorder;
1883
public
Pen
Shadow;
PresentationFramework.AeroLite (11)
Microsoft\Windows\Themes\ScrollChrome.cs (11)
204
Pen
pen = Border;
356
private static
Pen
CommonThumbBorder
366
Pen
temp = new Pen
382
private static
Pen
CommonThumbHoverBorder
392
Pen
temp = new Pen
408
private static
Pen
CommonThumbPressedBorder
418
Pen
temp = new Pen
434
private
Pen
Border
505
private static
Pen
_commonThumbBorder;
506
private static
Pen
_commonThumbHoverBorder;
507
private static
Pen
_commonThumbPressedBorder;
PresentationFramework.Luna (121)
Microsoft\Windows\Themes\ButtonChrome.cs (39)
381
Pen
pen;
474
Pen
pen = InnerHighlight;
493
Pen
borderPen = BorderPen;
548
private static
Pen
CommonDisabledBorderPenNC
560
Pen
temp = new Pen(brush, 1);
572
private static
Pen
CommonDisabledBorderPenHS
584
Pen
temp = new Pen(brush, 1);
597
private static
Pen
CommonDisabledBorderPenM
609
Pen
temp = new Pen(brush, 1);
621
private
Pen
BorderPen
635
Pen
pen = null;
662
Pen
commonPen = new Pen(brush, 1);
698
private static
Pen
CommonOuterHighlight
718
Pen
temp = new Pen(brush, 1.3333333333);
730
private
Pen
OuterHighlight
740
private static
Pen
CommonDefaultedInnerHighlightNC
761
Pen
temp = new Pen(brush, 2.6666666667);
773
private static
Pen
CommonDefaultedInnerHighlightHS
794
Pen
temp = new Pen(brush, 2.6666666667);
806
private static
Pen
CommonDefaultedInnerHighlightM
827
Pen
temp = new Pen(brush, 2.6666666667);
839
private static
Pen
CommonHoverInnerHighlightNC
860
Pen
temp = new Pen(brush, 2.6666666667);
872
private static
Pen
CommonHoverInnerHighlightHS
893
Pen
temp = new Pen(brush, 2.6666666667);
906
private static
Pen
CommonHoverInnerHighlightM
927
Pen
temp = new Pen(brush, 2.6666666667);
941
private
Pen
InnerHighlight
1495
private static
Pen
_commonBorderPen;
1497
private static
Pen
_commonDisabledBorderPenNC;
1498
private static
Pen
_commonDisabledBorderPenHS;
1499
private static
Pen
_commonDisabledBorderPenM;
1502
private static
Pen
_commonOuterHighlight;
1512
private static
Pen
_commonDefaultedInnerHighlightNC;
1513
private static
Pen
_commonDefaultedInnerHighlightHS;
1514
private static
Pen
_commonDefaultedInnerHighlightM;
1516
private static
Pen
_commonHoverInnerHighlightNC;
1517
private static
Pen
_commonHoverInnerHighlightHS;
1518
private static
Pen
_commonHoverInnerHighlightM;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
201
Pen
tabStroke = (
Pen
)GetCachedFreezable((int)LunaFreezables.TabStroke);
Microsoft\Windows\Themes\ScrollChrome.cs (62)
296
Pen
pen = Shadow;
316
Pen
pen = OuterBorder;
1927
private static
Pen
CommonOuterBorderPenNC
1937
Pen
temp = new Pen
1951
private static
Pen
CommonOuterBorderPenHS
1961
Pen
temp = new Pen
1975
private static
Pen
CommonOuterBorderPenM
1985
Pen
temp = new Pen
1999
private static
Pen
CommonHoverOuterBorderPenM
2009
Pen
temp = new Pen
2023
private static
Pen
CommonPressedOuterBorderPenM
2033
Pen
temp = new Pen
2048
private
Pen
OuterBorder
2082
private static
Pen
CommonDisabledInnerBorderPen
2092
Pen
temp = new Pen
2106
private static
Pen
CommonInnerBorderPenNC
2116
Pen
temp = new Pen
2132
private static
Pen
CommonHoverInnerBorderPenNC
2142
Pen
temp = new Pen
2156
private static
Pen
CommonHoverThumbInnerBorderPenNC
2166
Pen
temp = new Pen
2180
private static
Pen
CommonPressedInnerBorderPenNC
2190
Pen
temp = new Pen
2204
private static
Pen
CommonInnerBorderPenHS
2214
Pen
temp = new Pen
2228
private static
Pen
CommonHoverInnerBorderPenHS
2238
Pen
temp = new Pen
2253
private static
Pen
CommonPressedInnerBorderPenHS
2263
Pen
temp = new Pen
2277
private static
Pen
CommonInnerBorderPenM
2287
Pen
temp = new Pen
2301
private static
Pen
CommonHoverInnerBorderPenM
2311
Pen
temp = new Pen
2326
private static
Pen
CommonPressedInnerBorderPenM
2336
Pen
temp = new Pen
2352
private
Pen
InnerBorder
2398
private static
Pen
CommonDisabledShadowPen
2408
Pen
temp = new Pen();
2432
private static
Pen
CommonShadowPenNC
2442
Pen
temp = new Pen();
2466
private static
Pen
CommonShadowPenHS
2476
Pen
temp = new Pen();
2500
private
Pen
Shadow
2590
private static
Pen
_commonOuterBorderPenNC;
2592
private static
Pen
_commonOuterBorderPenHS;
2594
private static
Pen
_commonOuterBorderPenM;
2595
private static
Pen
_commonHoverOuterBorderPenM;
2596
private static
Pen
_commonPressedOuterBorderPenM;
2599
private static
Pen
_commonDisabledInnerBorderPen;
2601
private static
Pen
_commonInnerBorderPenNC;
2602
private static
Pen
_commonInnerBorderPenHS;
2603
private static
Pen
_commonInnerBorderPenM;
2605
private static
Pen
_commonHoverInnerBorderPenNC;
2606
private static
Pen
_commonHoverThumbInnerBorderPenNC;
2608
private static
Pen
_commonHoverInnerBorderPenHS;
2609
private static
Pen
_commonHoverInnerBorderPenM;
2611
private static
Pen
_commonPressedInnerBorderPenNC;
2612
private static
Pen
_commonPressedInnerBorderPenHS;
2613
private static
Pen
_commonPressedInnerBorderPenM;
2615
private static
Pen
_commonDisabledShadowPen;
2617
private static
Pen
_commonShadowPenNC;
2618
private static
Pen
_commonShadowPenHS;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (18)
255
Pen
highlightPen = HighlightPen;
333
Pen
borderPen = BorderPen;
357
Pen
borderPen = BorderPen;
370
private static
Pen
GetBorderPen(Brush border)
372
Pen
pen = null;
399
Pen
commonPen = new Pen(border, 1);
668
private static
Pen
CommonDisabledBorderPen
678
Pen
temp = new Pen
692
private static
Pen
CommonCheckBoxHoverHighlightPen
702
Pen
temp = new Pen
726
private static
Pen
CommonRadioButtonHoverHighlightPen
736
Pen
temp = new Pen
951
private
Pen
BorderPen
965
private
Pen
HighlightPen
999
private static
Pen
_commonBorderPen;
1003
private static
Pen
_commonDisabledBorderPen;
1005
private static
Pen
_commonCheckBoxHoverHighlightPen;
1006
private static
Pen
_commonRadioButtonHoverHighlightPen;
PresentationFramework.Royale (55)
Microsoft\Windows\Themes\ButtonChrome.cs (20)
395
Pen
pen = InnerHighlight;
414
Pen
borderPen = BorderPen;
463
private static
Pen
CommonDisabledBorderPen
475
Pen
temp = new Pen(brush, 1);
487
private
Pen
BorderPen
494
Pen
pen = null;
521
Pen
commonPen = new Pen(brush, 1);
557
private static
Pen
CommonOuterHighlight
577
Pen
temp = new Pen(brush, 1.3333333333);
589
private
Pen
OuterHighlight
599
private static
Pen
CommonDefaultedInnerHighlight
620
Pen
temp = new Pen(brush, 2.6666666667);
633
private static
Pen
CommonHoverInnerHighlight
654
Pen
temp = new Pen(brush, 2.6666666667);
667
private
Pen
InnerHighlight
959
private static
Pen
_commonBorderPen;
960
private static
Pen
_commonDisabledBorderPen;
962
private static
Pen
_commonOuterHighlight;
970
private static
Pen
_commonDefaultedInnerHighlight;
972
private static
Pen
_commonHoverInnerHighlight;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
130
Pen
tabStroke = (
Pen
)GetCachedFreezable((int)RoyaleFreezables.TabStroke);
Microsoft\Windows\Themes\ScrollChrome.cs (15)
276
Pen
pen = OuterBorder;
1013
private static
Pen
CommonDisabledOuterBorderPen
1023
Pen
temp = new Pen();
1045
private static
Pen
CommonOuterBorderPen
1055
Pen
temp = new Pen
1069
private static
Pen
CommonHoverOuterBorderPen
1079
Pen
temp = new Pen
1094
private
Pen
OuterBorder
1109
private static
Pen
CommonInnerBorderPen
1119
Pen
temp = new Pen
1133
private
Pen
InnerBorder
1171
private static
Pen
_commonDisabledOuterBorderPen;
1172
private static
Pen
_commonOuterBorderPen;
1174
private static
Pen
_commonHoverOuterBorderPen;
1176
private static
Pen
_commonInnerBorderPen;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (18)
255
Pen
highlightPen = HighlightPen;
333
Pen
borderPen = BorderPen;
357
Pen
borderPen = BorderPen;
370
private static
Pen
GetBorderPen(Brush border)
372
Pen
pen = null;
399
Pen
commonPen = new Pen(border, 1);
668
private static
Pen
CommonDisabledBorderPen
678
Pen
temp = new Pen
692
private static
Pen
CommonCheckBoxHoverHighlightPen
702
Pen
temp = new Pen
726
private static
Pen
CommonRadioButtonHoverHighlightPen
736
Pen
temp = new Pen
951
private
Pen
BorderPen
965
private
Pen
HighlightPen
999
private static
Pen
_commonBorderPen;
1003
private static
Pen
_commonDisabledBorderPen;
1005
private static
Pen
_commonCheckBoxHoverHighlightPen;
1006
private static
Pen
_commonRadioButtonHoverHighlightPen;
ReachFramework (25)
AlphaFlattener\BrushProxy.cs (8)
162
private PenProxy(
Pen
pen, BrushProxy brush)
180
public
Pen
GetPen(bool ignoreBrushProxy)
190
Pen
p = _pen.CloneCurrentValue();
268
public static PenProxy CreatePen(
Pen
pen, Rect bounds)
301
public static PenProxy CreateUserPen(
Pen
pen, Rect bounds, Matrix brushToWorldTransformHint, TreeWalkProgress treeWalkProgress)
331
public static bool IsNull(
Pen
pen)
346
private
Pen
_pen;
1271
public void DrawGeometry(DrawingContext dc,
Pen
pen, Geometry geo)
AlphaFlattener\DrawingContext.cs (2)
630
private static double DrawGeometryCost(Brush b,
Pen
p, Geometry g)
757
Pen
p = null;
AlphaFlattener\Flattener.cs (3)
1025
Pen
black = new Pen(Brushes.Black, 0.8)
1050
Pen
pen = new Pen(Brushes.Blue, 0.8)
1385
void ILegacyDevice.DrawGeometry(Brush brush,
Pen
pen, Brush strokeBrush, Geometry geometry)
AlphaFlattener\Interfaces.cs (1)
21
void DrawGeometry(Brush brush,
Pen
pen, Geometry geometry);
AlphaFlattener\MetroDevice.cs (2)
143
public void DrawGeometry(Brush brush,
Pen
pen, Geometry geometry)
689
void IMetroDrawingContext.DrawGeometry(Brush brush,
Pen
pen, Geometry geometry)
AlphaFlattener\Primitive.cs (2)
1054
Pen
p = Pen.GetPen(true);
1142
Pen
p = null;
Serialization\DrawingContextFlattener.cs (4)
215
private
Pen
ReducePen(
Pen
pen, Rect bounds)
242
public void DrawGeometry(Brush brush,
Pen
pen, Geometry geometry)
895
public void DrawGeometry(Brush brush,
Pen
pen, Geometry geometry)
Serialization\VisualSerializer.cs (3)
912
protected void WritePen(
Pen
pen, Rect bounds, bool isLineGeometry)
1146
static private bool Visible(Brush brush,
Pen
pen)
1845
void IMetroDrawingContext.DrawGeometry(Brush brush,
Pen
pen, Geometry geometry)
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (3)
138
Pen
separatorPen = SeparatorPen;
236
private
Pen
SeparatorPen
259
Pen
_separatorPen;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (3)
238
Pen
separatorPen = SeparatorPen;
330
private
Pen
SeparatorPen
783
Pen
_separatorPen = null;