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)
354
return new
Pen
();
PresentationFramework (45)
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
40
_adornerBorderPen = new
Pen
(Brushes.Black, 1.0);
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
40
_adornerBorderPen = new
Pen
(Brushes.Black, 1.0);
48
_adornerPenBrush = new
Pen
(new SolidColorBrush(Color.FromRgb(132, 146, 222)), 1);
70
Pen squareCapPen = new
Pen
(Brushes.Black, LineThickness);
92
_hatchPen = new
Pen
(tileBrush, HatchBorderMargin);
MS\Internal\Documents\TextBoxLine.cs (1)
228
ctx.DrawGeometry(selectionBrush, new
Pen
() { Brush = selectionBrush }, selectionGeometry);
MS\Internal\Ink\LassoHelper.cs (1)
311
_pen = new
Pen
(new SolidColorBrush(DotCircumferenceColor), DotCircumferenceThickness);
MS\Internal\Ink\PenCursorManager.cs (1)
455
Pen pen1 = new
Pen
(Brushes.Gray, 0.7);
MS\Internal\PtsHost\ParagraphVisual.cs (4)
89
Pen pen = new
Pen
();
111
pen = new
Pen
();
122
pen = new
Pen
();
133
pen = new
Pen
();
MS\Internal\PtsHost\SectionVisual.cs (1)
109
Pen pen = new
Pen
(columnRuleBrush, ruleWidth);
MS\Internal\Text\TextSpanModifier.cs (1)
158
pen = new
Pen
(brush, 1);
System\Windows\Controls\Border.cs (4)
410
pen = new
Pen
();
473
pen = new
Pen
();
505
pen = new
Pen
();
536
pen = new
Pen
();
System\Windows\Controls\Grid.cs (2)
3976
s_oddDashPen = new
Pen
(Brushes.Blue, c_penWidth);
3984
s_evenDashPen = new
Pen
(Brushes.Yellow, c_penWidth);
System\Windows\Controls\Primitives\TickBar.cs (1)
444
Pen pen = new
Pen
(Fill, 1.0d);
System\Windows\Documents\ColumnResizeAdorner.cs (1)
44
_pen = new
Pen
(new SolidColorBrush(Colors.LightSlateGray), 2.0);
System\Windows\Documents\CompositionAdorner.cs (1)
185
Pen pen = new
Pen
(new SolidColorBrush(Colors.Black), lineHeight);
System\Windows\Documents\FixedPage.cs (3)
1255
Pen pen = new
Pen
(Brushes.Green, 1);
1264
Pen backgroundPen = new
Pen
(Brushes.Black,1);
1283
Pen backgroundPen = new
Pen
(Brushes.Black,1);
System\Windows\Documents\FixedPageStructure.cs (7)
228
Pen pen = new
Pen
(Brushes.Blue, 1);
329
Pen pen = new
Pen
(Brushes.DarkMagenta, 1.5);
363
Pen pen = new
Pen
(Brushes.DarkMagenta, 1.5);
396
Pen pen = new
Pen
(Brushes.Red, 0.5);
568
Pen pen = new
Pen
(Brushes.Blue, 2);
653
Pen pen = new
Pen
(Brushes.Red, 1);
668
Pen backgroundPen = new
Pen
(Brushes.Black,1);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
151
Pen pen = new
Pen
(Brushes.Blue, 2);
System\Windows\Documents\FixedSOMGroup.cs (1)
156
Pen pen = new
Pen
(Brushes.Maroon, 3);
System\Windows\Documents\FixedSOMImage.cs (1)
93
Pen pen = new
Pen
(Brushes.Yellow, 1);
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
83
Pen backgroundPen = new
Pen
(Brushes.Black,1);
System\Windows\Documents\FixedSOMTable.cs (1)
44
Pen pen = new
Pen
(Brushes.Green, 5);
System\Windows\Documents\FixedSOMTableCell.cs (1)
46
Pen pen = new
Pen
(Brushes.Red, 2);
System\Windows\Documents\FixedSOMTextRun.cs (1)
188
Pen pen = new
Pen
(Brushes.Blue, 1);
System\Windows\Documents\SpellerHighlightLayer.cs (2)
153
Pen pen = new
Pen
(Brushes.Red, 0.33);
173
new
Pen
(brush, 3),
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7451
bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.
Pen
(); };
System\Windows\Markup\KnownTypes.cs (1)
1447
case KnownElements.Pen: o = new System.Windows.Media.
Pen
(); break;
System\Windows\Shapes\Shape.cs (1)
490
_pen = new
Pen
();
PresentationFramework.Aero (40)
Microsoft\Windows\Themes\BulletChrome.cs (23)
804
Pen commonPen = new
Pen
(border, 1);
829
pen = new
Pen
(border, 1);
911
Pen temp = new
Pen
();
935
Pen temp = new
Pen
();
958
Pen temp = new
Pen
();
981
Pen temp = new
Pen
();
1003
Pen temp = new
Pen
();
1036
Pen temp = new
Pen
();
1068
Pen temp = new
Pen
();
1378
Pen temp = new
Pen
();
1400
Pen temp = new
Pen
();
1422
Pen temp = new
Pen
();
1444
Pen temp = new
Pen
();
1476
Pen temp = new
Pen
();
1508
Pen temp = new
Pen
();
1540
Pen temp = new
Pen
();
1572
Pen temp = new
Pen
();
1604
Pen temp = new
Pen
();
1636
Pen temp = new
Pen
();
1668
Pen temp = new
Pen
();
1701
Pen temp = new
Pen
();
1732
Pen temp = new
Pen
();
1763
Pen temp = new
Pen
();
Microsoft\Windows\Themes\ButtonChrome.cs (7)
565
Pen commonPen = new
Pen
(border, 1);
590
pen = new
Pen
(border, 1);
815
Pen temp = new
Pen
();
837
Pen temp = new
Pen
();
860
Pen temp = new
Pen
();
930
Pen temp = new
Pen
();
962
Pen temp = new
Pen
();
Microsoft\Windows\Themes\ListBoxChrome.cs (5)
443
Pen commonPen = new
Pen
(border, 1);
468
pen = new
Pen
(border, 1);
537
Pen temp = new
Pen
();
571
Pen temp = new
Pen
();
606
Pen temp = new
Pen
();
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1080
Pen temp = new
Pen
();
1104
Pen temp = new
Pen
();
1128
Pen temp = new
Pen
();
1207
Pen temp = new
Pen
();
1278
Pen temp = new
Pen
();
PresentationFramework.Aero2 (40)
Microsoft\Windows\Themes\BulletChrome.cs (23)
804
Pen commonPen = new
Pen
(border, 1);
829
pen = new
Pen
(border, 1);
911
Pen temp = new
Pen
();
935
Pen temp = new
Pen
();
958
Pen temp = new
Pen
();
981
Pen temp = new
Pen
();
1003
Pen temp = new
Pen
();
1036
Pen temp = new
Pen
();
1068
Pen temp = new
Pen
();
1378
Pen temp = new
Pen
();
1400
Pen temp = new
Pen
();
1422
Pen temp = new
Pen
();
1444
Pen temp = new
Pen
();
1476
Pen temp = new
Pen
();
1508
Pen temp = new
Pen
();
1540
Pen temp = new
Pen
();
1572
Pen temp = new
Pen
();
1604
Pen temp = new
Pen
();
1636
Pen temp = new
Pen
();
1668
Pen temp = new
Pen
();
1701
Pen temp = new
Pen
();
1732
Pen temp = new
Pen
();
1763
Pen temp = new
Pen
();
Microsoft\Windows\Themes\ButtonChrome.cs (7)
565
Pen commonPen = new
Pen
(border, 1);
590
pen = new
Pen
(border, 1);
815
Pen temp = new
Pen
();
837
Pen temp = new
Pen
();
860
Pen temp = new
Pen
();
930
Pen temp = new
Pen
();
962
Pen temp = new
Pen
();
Microsoft\Windows\Themes\ListBoxChrome.cs (5)
443
Pen commonPen = new
Pen
(border, 1);
468
pen = new
Pen
(border, 1);
537
Pen temp = new
Pen
();
571
Pen temp = new
Pen
();
606
Pen temp = new
Pen
();
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1080
Pen temp = new
Pen
();
1104
Pen temp = new
Pen
();
1128
Pen temp = new
Pen
();
1207
Pen temp = new
Pen
();
1278
Pen temp = new
Pen
();
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
372
Pen temp = new
Pen
();
396
Pen temp = new
Pen
();
420
Pen temp = new
Pen
();
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (2)
1331
dc.DrawGeometry(DarkDarkBrush, new
Pen
(DarkBrush, 1.0), TopLeftArcGeometry);
1332
dc.DrawGeometry(LightBrush, new
Pen
(LightLightBrush, 1.0), BottomRightArcGeometry);
PresentationFramework.Luna (37)
Microsoft\Windows\Themes\ButtonChrome.cs (12)
562
Pen temp = new
Pen
(brush, 1);
586
Pen temp = new
Pen
(brush, 1);
611
Pen temp = new
Pen
(brush, 1);
664
Pen commonPen = new
Pen
(brush, 1);
689
pen = new
Pen
(brush, 1);
718
Pen temp = new
Pen
(brush, 1.3333333333);
759
Pen temp = new
Pen
(brush, 2.6666666667);
790
Pen temp = new
Pen
(brush, 2.6666666667);
821
Pen temp = new
Pen
(brush, 2.6666666667);
852
Pen temp = new
Pen
(brush, 2.6666666667);
883
Pen temp = new
Pen
(brush, 2.6666666667);
915
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)
1887
Pen temp = new
Pen
();
1909
Pen temp = new
Pen
();
1931
Pen temp = new
Pen
();
1953
Pen temp = new
Pen
();
1975
Pen temp = new
Pen
();
2032
Pen temp = new
Pen
();
2054
Pen temp = new
Pen
();
2078
Pen temp = new
Pen
();
2100
Pen temp = new
Pen
();
2122
Pen temp = new
Pen
();
2144
Pen temp = new
Pen
();
2166
Pen temp = new
Pen
();
2189
Pen temp = new
Pen
();
2211
Pen temp = new
Pen
();
2233
Pen temp = new
Pen
();
2256
Pen temp = new
Pen
();
2326
Pen temp = new
Pen
();
2358
Pen temp = new
Pen
();
2390
Pen temp = new
Pen
();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
403
Pen commonPen = new
Pen
(border, 1);
428
pen = new
Pen
(border, 1);
679
Pen temp = new
Pen
();
701
Pen temp = new
Pen
();
732
Pen temp = new
Pen
();
PresentationFramework.Royale (16)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
477
Pen temp = new
Pen
(brush, 1);
523
Pen commonPen = new
Pen
(brush, 1);
548
pen = new
Pen
(brush, 1);
577
Pen temp = new
Pen
(brush, 1.3333333333);
618
Pen temp = new
Pen
(brush, 2.6666666667);
650
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)
1003
Pen temp = new
Pen
();
1033
Pen temp = new
Pen
();
1055
Pen temp = new
Pen
();
1093
Pen temp = new
Pen
();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
403
Pen commonPen = new
Pen
(border, 1);
428
pen = new
Pen
(border, 1);
679
Pen temp = new
Pen
();
701
Pen temp = new
Pen
();
732
Pen temp = new
Pen
();
ReachFramework (2)
AlphaFlattener\Flattener.cs (2)
1025
Pen black = new
Pen
(Brushes.Black, 0.8);
1048
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)
251
_separatorPen = new
Pen
(b, 1.0);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
343
_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)
1400
Pen
textDecorationPen = textDecoration.Pen.CloneCurrentValue();
System\Windows\Generated\TextDecoration.cs (3)
85
public
Pen
Pen
89
return (
Pen
) GetValue(PenProperty);
289
typeof(
Pen
),
System\Windows\Media\BoundsDrawingContextWalker.cs (10)
81
Pen
pen,
85
if (
Pen
.ContributesToBounds(pen))
119
Pen
pen,
122
if ((brush != null) ||
Pen
.ContributesToBounds(pen))
165
Pen
pen,
170
if ((brush != null) ||
Pen
.ContributesToBounds(pen))
215
Pen
pen,
220
if ((brush != null) ||
Pen
.ContributesToBounds(pen))
255
Pen
pen,
258
if ((geometry != null) && ((brush != null) ||
Pen
.ContributesToBounds(pen)))
System\Windows\Media\CombinedGeometry.cs (2)
138
internal override Rect GetBoundsInternal(
Pen
pen, Matrix matrix, double tolerance, ToleranceType type)
153
internal override bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
System\Windows\Media\DrawingDrawingContext.cs (10)
56
Pen
pen,
79
Pen
pen,
154
Pen
pen,
182
Pen
pen,
258
Pen
pen,
298
Pen
pen,
392
Pen
pen,
434
Pen
pen,
517
Pen
pen,
1298
private void AddNewGeometryDrawing(Brush brush,
Pen
pen, Geometry geometry)
System\Windows\Media\EllipseGeometry.cs (4)
140
internal override Rect GetBoundsInternal(
Pen
pen, Matrix matrix, double tolerance, ToleranceType type)
157
internal static Rect GetBoundsHelper(
Pen
pen, Matrix worldMatrix, Point center, double radiusX, double radiusY,
167
if (
Pen
.ContributesToBounds(pen))
205
internal override bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
System\Windows\Media\Generated\DrawingContext.cs (9)
46
Pen
pen,
61
Pen
pen,
83
Pen
pen,
103
Pen
pen,
131
Pen
pen,
163
Pen
pen,
197
Pen
pen,
231
Pen
pen,
255
Pen
pen,
System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (9)
47
Pen
pen,
69
Pen
pen,
99
Pen
pen,
126
Pen
pen,
161
Pen
pen,
202
Pen
pen,
247
Pen
pen,
290
Pen
pen,
325
Pen
pen,
System\Windows\Media\Generated\DrawingContextWalker.cs (9)
47
Pen
pen,
65
Pen
pen,
90
Pen
pen,
113
Pen
pen,
144
Pen
pen,
179
Pen
pen,
216
Pen
pen,
253
Pen
pen,
280
Pen
pen,
System\Windows\Media\Generated\GeometryDrawing.cs (10)
148
Pen
oldV = (
Pen
) e.OldValue;
149
Pen
newV = (
Pen
) e.NewValue;
238
public
Pen
Pen
242
return (
Pen
) GetValue(PenProperty);
307
Pen
vPen = Pen;
338
Pen
vPen = Pen;
359
Pen
vPen = Pen;
471
typeof(
Pen
),
System\Windows\Media\Generated\Pen.cs (21)
59
public new
Pen
Clone()
61
return (
Pen
)base.Clone();
68
public new
Pen
CloneCurrentValue()
70
return (
Pen
)base.CloneCurrentValue();
101
Pen
target = ((
Pen
) d);
130
Pen
target = ((
Pen
) d);
137
Pen
target = ((
Pen
) d);
144
Pen
target = ((
Pen
) d);
151
Pen
target = ((
Pen
) d);
158
Pen
target = ((
Pen
) d);
165
Pen
target = ((
Pen
) d);
187
Pen
target = ((
Pen
) d);
577
Type typeofThis = typeof(
Pen
);
System\Windows\Media\Generated\RenderData.cs (18)
1155
(
Pen
)DependentLookup(data->hPen),
1167
(data->hPen == 0) ? null : (
Pen
)DependentLookup(data->hPen),
1180
(
Pen
)DependentLookup(data->hPen),
1192
(data->hPen == 0) ? null : (
Pen
)DependentLookup(data->hPen),
1204
(
Pen
)DependentLookup(data->hPen),
1218
(data->hPen == 0) ? null : (
Pen
)DependentLookup(data->hPen),
1232
(
Pen
)DependentLookup(data->hPen),
1246
(data->hPen == 0) ? null : (
Pen
)DependentLookup(data->hPen),
1260
(
Pen
)DependentLookup(data->hPen),
1495
(
Pen
)DependentLookup(data->hPen),
1507
(
Pen
)DependentLookup(data->hPen),
1522
(
Pen
)DependentLookup(data->hPen),
1534
(
Pen
)DependentLookup(data->hPen),
1547
(
Pen
)DependentLookup(data->hPen),
1561
(
Pen
)DependentLookup(data->hPen),
1578
(
Pen
)DependentLookup(data->hPen),
1592
(
Pen
)DependentLookup(data->hPen),
1609
(
Pen
)DependentLookup(data->hPen),
System\Windows\Media\Generated\RenderDataDrawingContext.cs (9)
46
Pen
pen,
95
Pen
pen,
157
Pen
pen,
211
Pen
pen,
276
Pen
pen,
344
Pen
pen,
423
Pen
pen,
493
Pen
pen,
562
Pen
pen,
System\Windows\Media\Geometry.cs (14)
97
public virtual Rect GetRenderBounds(
Pen
pen, double tolerance, ToleranceType type)
109
public Rect GetRenderBounds(
Pen
pen)
136
internal virtual Rect GetBoundsInternal(
Pen
pen, Matrix matrix, double tolerance, ToleranceType type)
158
internal Rect GetBoundsInternal(
Pen
pen, Matrix matrix)
165
Pen
pen,
180
bool fPenContributesToBounds =
Pen
.ContributesToBounds(pen);
374
public bool StrokeContains(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
391
internal virtual bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
456
internal unsafe bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type,
506
public bool StrokeContains(
Pen
pen, Point hitPoint)
568
public IntersectionDetail StrokeContainsWithDetail(
Pen
pen, Geometry geometry, double tolerance, ToleranceType type)
585
public IntersectionDetail StrokeContainsWithDetail(
Pen
pen, Geometry geometry)
677
public virtual PathGeometry GetWidenedPathGeometry(
Pen
pen, double tolerance, ToleranceType type)
767
public PathGeometry GetWidenedPathGeometry(
Pen
pen)
System\Windows\Media\GeometryDrawing.cs (1)
38
public GeometryDrawing(Brush brush,
Pen
pen, Geometry geometry)
System\Windows\Media\HitTestDrawingContextWalker.cs (4)
60
Pen
pen,
84
Pen
pen,
115
Pen
pen,
150
Pen
pen,
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
117
Pen
pen,
System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
80
Pen
pen,
System\Windows\Media\LineGeometry.cs (3)
90
internal override Rect GetBoundsInternal(
Pen
pen, Matrix worldMatrix, double tolerance, ToleranceType type)
106
internal static Rect GetBoundsHelper(
Pen
pen, Matrix worldMatrix, Point pt1, Point pt2,
139
internal override bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
System\Windows\Media\PathGeometry.cs (2)
737
Pen
pen,
769
Pen
pen,
System\Windows\Media\Pen.cs (1)
154
Pen
pen)
System\Windows\Media\RectangleGeometry.cs (4)
170
internal override Rect GetBoundsInternal(
Pen
pen, Matrix worldMatrix, double tolerance, ToleranceType type)
187
internal static Rect GetBoundsHelper(
Pen
pen, Matrix worldMatrix, Rect rect, double radiusX, double radiusY,
203
if (
Pen
.ContributesToBounds(pen))
246
internal override bool ContainsInternal(
Pen
pen, Point hitPoint, double tolerance, ToleranceType type)
System\Windows\TextDecoration.cs (1)
42
Pen
pen,
PresentationFramework (60)
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
173
private
Pen
_adornerBorderPen;
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
70
Pen
squareCapPen = new Pen(Brushes.Black, LineThickness);
432
private
Pen
_adornerBorderPen;
433
private
Pen
_adornerPenBrush;
435
private
Pen
_hatchPen;
MS\Internal\Ink\LassoHelper.cs (1)
30
Pen
_pen = null;
MS\Internal\Ink\PenCursorManager.cs (1)
455
Pen
pen1 = new Pen(Brushes.Gray, 0.7);
MS\Internal\PtsHost\ParagraphVisual.cs (1)
89
Pen
pen = new Pen();
MS\Internal\PtsHost\SectionVisual.cs (1)
109
Pen
pen = new Pen(columnRuleBrush, ruleWidth);
MS\Internal\Text\TextSpanModifier.cs (1)
151
Pen
pen = null;
System\Windows\Controls\Border.cs (13)
407
Pen
pen = LeftPenCache;
798
private static readonly UncommonField<
Pen
> LeftPenField = new UncommonField<
Pen
>();
799
private static readonly UncommonField<
Pen
> RightPenField = new UncommonField<
Pen
>();
800
private static readonly UncommonField<
Pen
> TopPenField = new UncommonField<
Pen
>();
801
private static readonly UncommonField<
Pen
> BottomPenField = new UncommonField<
Pen
>();
843
private
Pen
LeftPenCache
863
private
Pen
RightPenCache
883
private
Pen
TopPenCache
903
private
Pen
BottomPenCache
System\Windows\Controls\Grid.cs (2)
4044
private static readonly
Pen
s_oddDashPen; // first pen to draw dash
4045
private static readonly
Pen
s_evenDashPen; // second pen to draw dash
System\Windows\Controls\Primitives\TickBar.cs (1)
444
Pen
pen = new Pen(Fill, 1.0d);
System\windows\Documents\CaretElement.cs (1)
140
Pen
selectionOutlinePen = null;
System\Windows\Documents\ColumnResizeAdorner.cs (1)
193
private
Pen
_pen;
System\Windows\Documents\CompositionAdorner.cs (2)
170
Pen
selectionPen = null;
185
Pen
pen = new Pen(new SolidColorBrush(Colors.Black), lineHeight);
System\Windows\Documents\FixedPage.cs (3)
1255
Pen
pen = new Pen(Brushes.Green, 1);
1264
Pen
backgroundPen = new Pen(Brushes.Black,1);
1283
Pen
backgroundPen = new Pen(Brushes.Black,1);
System\Windows\Documents\FixedPageStructure.cs (8)
217
private void DrawRectOutline(DrawingContext dc,
Pen
pen, Rect rect)
228
Pen
pen = new Pen(Brushes.Blue, 1);
329
Pen
pen = new Pen(Brushes.DarkMagenta, 1.5);
363
Pen
pen = new Pen(Brushes.DarkMagenta, 1.5);
396
Pen
pen = new Pen(Brushes.Red, 0.5);
568
Pen
pen = new Pen(Brushes.Blue, 2);
653
Pen
pen = new Pen(Brushes.Red, 1);
668
Pen
backgroundPen = new Pen(Brushes.Black,1);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
151
Pen
pen = new Pen(Brushes.Blue, 2);
System\Windows\Documents\FixedSOMGroup.cs (1)
156
Pen
pen = new Pen(Brushes.Maroon, 3);
System\Windows\Documents\FixedSOMImage.cs (1)
93
Pen
pen = new Pen(Brushes.Yellow, 1);
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
83
Pen
backgroundPen = new Pen(Brushes.Black,1);
System\Windows\Documents\FixedSOMTable.cs (1)
44
Pen
pen = new Pen(Brushes.Green, 5);
System\Windows\Documents\FixedSOMTableCell.cs (1)
46
Pen
pen = new Pen(Brushes.Red, 2);
System\Windows\Documents\FixedSOMTextRun.cs (1)
188
Pen
pen = new Pen(Brushes.Blue, 1);
System\Windows\Documents\SpellerHighlightLayer.cs (1)
153
Pen
pen = new Pen(Brushes.Red, 0.33);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
546
case 450: t = () => typeof(
Pen
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7786
Type type = typeof(System.Windows.Media.
Pen
);
7787
DependencyProperty dp = System.Windows.Media.
Pen
.LineJoinProperty;
7789
this.GetXamlType(typeof(System.Windows.Media.
Pen
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7449
typeof(System.Windows.Media.
Pen
),
System\Windows\Markup\KnownTypes.cs (1)
6004
case KnownElements.Pen: t = typeof(System.Windows.Media.
Pen
); break;
System\Windows\Shapes\Ellipse.cs (1)
194
Pen
pen = GetPen();
System\Windows\Shapes\Rectangle.cs (1)
241
Pen
pen = GetPen();
System\Windows\Shapes\Shape.cs (3)
474
internal
Pen
GetPen()
695
Pen
pen = GetPen();
771
private
Pen
_pen = null;
PresentationFramework.Aero (143)
Microsoft\Windows\Themes\BulletChrome.cs (79)
678
Pen
innerBorder = InnerBorderPen;
695
Pen
innerBorder = InnerBorderPen;
741
Pen
pen = GetBorderPen(BorderBrush);
742
Pen
overlayPen = BorderOverlayPen;
775
private static
Pen
GetBorderPen(Brush border)
777
Pen
pen = null;
804
Pen
commonPen = new Pen(border, 1);
901
private static
Pen
CommonCheckMarkStroke
911
Pen
temp = new Pen();
925
private static
Pen
CommonCheckMarkPressedStroke
935
Pen
temp = new Pen();
948
private static
Pen
CommonRadioButtonDisabledGlyphStroke
958
Pen
temp = new Pen();
971
private static
Pen
CommonRadioButtonGlyphStroke
981
Pen
temp = new Pen();
993
private static
Pen
CommonIndeterminateHighlight
1003
Pen
temp = new Pen();
1026
private static
Pen
CommonIndeterminateHoverHighlight
1036
Pen
temp = new Pen();
1058
private static
Pen
CommonIndeterminatePressedHighlight
1068
Pen
temp = new Pen();
1088
private
Pen
HighlightStroke
1368
private static
Pen
CommonHoverBorderOverlay
1378
Pen
temp = new Pen();
1390
private static
Pen
CommonPressedBorderOverlay
1400
Pen
temp = new Pen();
1412
private static
Pen
CommonDisabledBorderOverlay
1422
Pen
temp = new Pen();
1434
private static
Pen
CommonCheckBoxDisabledInnerBorderPen
1444
Pen
temp = new Pen();
1466
private static
Pen
CommonCheckBoxInnerBorderPen
1476
Pen
temp = new Pen();
1498
private static
Pen
CommonCheckBoxHoverInnerBorderPen
1508
Pen
temp = new Pen();
1530
private static
Pen
CommonCheckBoxPressedInnerBorderPen
1540
Pen
temp = new Pen();
1562
private static
Pen
CommonIndeterminateDisabledInnerBorderPen
1572
Pen
temp = new Pen();
1594
private static
Pen
CommonIndeterminateInnerBorderPen
1604
Pen
temp = new Pen();
1626
private static
Pen
CommonIndeterminateHoverInnerBorderPen
1636
Pen
temp = new Pen();
1658
private static
Pen
CommonIndeterminatePressedInnerBorderPen
1668
Pen
temp = new Pen();
1691
private static
Pen
CommonRadioButtonInnerBorderPen
1701
Pen
temp = new Pen();
1722
private static
Pen
CommonRadioButtonHoverInnerBorderPen
1732
Pen
temp = new Pen();
1753
private static
Pen
CommonRadioButtonPressedInnerBorderPen
1763
Pen
temp = new Pen();
2069
private
Pen
GlyphStroke
2234
private
Pen
BorderOverlayPen
2271
private
Pen
InnerBorderPen
2358
private static
Pen
_commonCheckMarkStroke;
2359
private static
Pen
_commonCheckMarkPressedStroke;
2363
private static
Pen
_commonRadioButtonDisabledGlyphStroke;
2364
private static
Pen
_commonRadioButtonGlyphStroke;
2375
private static
Pen
_commonIndeterminateInnerBorderPen;
2376
private static
Pen
_commonIndeterminateHoverInnerBorderPen;
2377
private static
Pen
_commonIndeterminatePressedInnerBorderPen;
2378
private static
Pen
_commonIndeterminateDisabledInnerBorderPen;
2380
private static
Pen
_commonIndeterminateHighlight;
2381
private static
Pen
_commonIndeterminateHoverHighlight;
2382
private static
Pen
_commonIndeterminatePressedHighlight;
2384
private static
Pen
_commonBorderPen;
2385
private static
Pen
_commonCheckBoxInnerBorderPen;
2386
private static
Pen
_commonRadioButtonInnerBorderPen;
2389
private static
Pen
_commonDisabledBorderOverlay;
2391
private static
Pen
_commonCheckBoxDisabledInnerBorderPen;
2394
private static
Pen
_commonHoverBorderOverlay;
2395
private static
Pen
_commonCheckBoxHoverInnerBorderPen;
2396
private static
Pen
_commonRadioButtonHoverInnerBorderPen;
2400
private static
Pen
_commonPressedBorderOverlay;
2401
private static
Pen
_commonCheckBoxPressedInnerBorderPen;
2402
private static
Pen
_commonRadioButtonPressedInnerBorderPen;
2413
public
Pen
BorderOverlayPen;
2414
public
Pen
InnerBorderPen;
2417
public
Pen
HighlightStroke;
2418
public
Pen
GlyphStroke;
Microsoft\Windows\Themes\ButtonChrome.cs (24)
539
Pen
pen = null;
565
Pen
commonPen = new Pen(border, 1);
599
Pen
overlayPen = BorderOverlayPen;
652
Pen
innerBorder = InnerBorderPen;
805
private static
Pen
CommonHoverBorderOverlay
815
Pen
temp = new Pen();
827
private static
Pen
CommonPressedBorderOverlay
837
Pen
temp = new Pen();
850
private static
Pen
CommonDisabledBorderOverlay
860
Pen
temp = new Pen();
872
private
Pen
BorderOverlayPen
920
private static
Pen
CommonInnerBorderPen
930
Pen
temp = new Pen();
952
private static
Pen
CommonDefaultedInnerBorderPen
962
Pen
temp = new Pen();
976
private
Pen
InnerBorderPen
1143
private static
Pen
_commonBorderPen;
1144
private static
Pen
_commonInnerBorderPen;
1146
private static
Pen
_commonDisabledBorderOverlay;
1149
private static
Pen
_commonDefaultedInnerBorderPen;
1152
private static
Pen
_commonHoverBorderOverlay;
1156
private static
Pen
_commonPressedBorderOverlay;
1170
public
Pen
BorderOverlayPen;
1171
public
Pen
InnerBorderPen;
Microsoft\Windows\Themes\ListBoxChrome.cs (17)
371
Pen
pen = GetBorderPen(BorderBrush);
372
Pen
overlayPen = BorderOverlayPen;
415
private static
Pen
GetBorderPen(Brush border)
417
Pen
pen = null;
443
Pen
commonPen = new Pen(border, 1);
527
private static
Pen
CommonHoverBorderOverlay
537
Pen
temp = new Pen();
561
private static
Pen
CommonFocusedBorderOverlay
571
Pen
temp = new Pen();
596
private static
Pen
CommonDisabledBorderOverlay
606
Pen
temp = new Pen();
637
private
Pen
BorderOverlayPen
673
private static
Pen
_commonBorderPen;
675
private static
Pen
_commonDisabledBorderOverlay;
676
private static
Pen
_commonHoverBorderOverlay;
677
private static
Pen
_commonFocusedBorderOverlay;
687
public
Pen
BorderOverlayPen;
Microsoft\Windows\Themes\ScrollChrome.cs (23)
461
Pen
pen = Shadow;
480
Pen
pen = OuterBorder;
1070
private static
Pen
CommonThumbOuterBorder
1080
Pen
temp = new Pen();
1094
private static
Pen
CommonThumbHoverOuterBorder
1104
Pen
temp = new Pen();
1118
private static
Pen
CommonThumbPressedOuterBorder
1128
Pen
temp = new Pen();
1142
private
Pen
OuterBorder
1197
private static
Pen
CommonThumbInnerBorder
1207
Pen
temp = new Pen();
1222
private
Pen
InnerBorder
1268
private static
Pen
CommonThumbShadow
1278
Pen
temp = new Pen();
1293
private
Pen
Shadow
1783
private static
Pen
_commonThumbOuterBorder;
1784
private static
Pen
_commonThumbInnerBorder;
1785
private static
Pen
_commonThumbShadow;
1792
private static
Pen
_commonThumbHoverOuterBorder;
1798
private static
Pen
_commonThumbPressedOuterBorder;
1818
public
Pen
OuterBorder;
1819
public
Pen
InnerBorder;
1820
public
Pen
Shadow;
PresentationFramework.Aero2 (143)
Microsoft\Windows\Themes\BulletChrome.cs (79)
678
Pen
innerBorder = InnerBorderPen;
695
Pen
innerBorder = InnerBorderPen;
741
Pen
pen = GetBorderPen(BorderBrush);
742
Pen
overlayPen = BorderOverlayPen;
775
private static
Pen
GetBorderPen(Brush border)
777
Pen
pen = null;
804
Pen
commonPen = new Pen(border, 1);
901
private static
Pen
CommonCheckMarkStroke
911
Pen
temp = new Pen();
925
private static
Pen
CommonCheckMarkPressedStroke
935
Pen
temp = new Pen();
948
private static
Pen
CommonRadioButtonDisabledGlyphStroke
958
Pen
temp = new Pen();
971
private static
Pen
CommonRadioButtonGlyphStroke
981
Pen
temp = new Pen();
993
private static
Pen
CommonIndeterminateHighlight
1003
Pen
temp = new Pen();
1026
private static
Pen
CommonIndeterminateHoverHighlight
1036
Pen
temp = new Pen();
1058
private static
Pen
CommonIndeterminatePressedHighlight
1068
Pen
temp = new Pen();
1088
private
Pen
HighlightStroke
1368
private static
Pen
CommonHoverBorderOverlay
1378
Pen
temp = new Pen();
1390
private static
Pen
CommonPressedBorderOverlay
1400
Pen
temp = new Pen();
1412
private static
Pen
CommonDisabledBorderOverlay
1422
Pen
temp = new Pen();
1434
private static
Pen
CommonCheckBoxDisabledInnerBorderPen
1444
Pen
temp = new Pen();
1466
private static
Pen
CommonCheckBoxInnerBorderPen
1476
Pen
temp = new Pen();
1498
private static
Pen
CommonCheckBoxHoverInnerBorderPen
1508
Pen
temp = new Pen();
1530
private static
Pen
CommonCheckBoxPressedInnerBorderPen
1540
Pen
temp = new Pen();
1562
private static
Pen
CommonIndeterminateDisabledInnerBorderPen
1572
Pen
temp = new Pen();
1594
private static
Pen
CommonIndeterminateInnerBorderPen
1604
Pen
temp = new Pen();
1626
private static
Pen
CommonIndeterminateHoverInnerBorderPen
1636
Pen
temp = new Pen();
1658
private static
Pen
CommonIndeterminatePressedInnerBorderPen
1668
Pen
temp = new Pen();
1691
private static
Pen
CommonRadioButtonInnerBorderPen
1701
Pen
temp = new Pen();
1722
private static
Pen
CommonRadioButtonHoverInnerBorderPen
1732
Pen
temp = new Pen();
1753
private static
Pen
CommonRadioButtonPressedInnerBorderPen
1763
Pen
temp = new Pen();
2069
private
Pen
GlyphStroke
2234
private
Pen
BorderOverlayPen
2271
private
Pen
InnerBorderPen
2358
private static
Pen
_commonCheckMarkStroke;
2359
private static
Pen
_commonCheckMarkPressedStroke;
2363
private static
Pen
_commonRadioButtonDisabledGlyphStroke;
2364
private static
Pen
_commonRadioButtonGlyphStroke;
2375
private static
Pen
_commonIndeterminateInnerBorderPen;
2376
private static
Pen
_commonIndeterminateHoverInnerBorderPen;
2377
private static
Pen
_commonIndeterminatePressedInnerBorderPen;
2378
private static
Pen
_commonIndeterminateDisabledInnerBorderPen;
2380
private static
Pen
_commonIndeterminateHighlight;
2381
private static
Pen
_commonIndeterminateHoverHighlight;
2382
private static
Pen
_commonIndeterminatePressedHighlight;
2384
private static
Pen
_commonBorderPen;
2385
private static
Pen
_commonCheckBoxInnerBorderPen;
2386
private static
Pen
_commonRadioButtonInnerBorderPen;
2389
private static
Pen
_commonDisabledBorderOverlay;
2391
private static
Pen
_commonCheckBoxDisabledInnerBorderPen;
2394
private static
Pen
_commonHoverBorderOverlay;
2395
private static
Pen
_commonCheckBoxHoverInnerBorderPen;
2396
private static
Pen
_commonRadioButtonHoverInnerBorderPen;
2400
private static
Pen
_commonPressedBorderOverlay;
2401
private static
Pen
_commonCheckBoxPressedInnerBorderPen;
2402
private static
Pen
_commonRadioButtonPressedInnerBorderPen;
2413
public
Pen
BorderOverlayPen;
2414
public
Pen
InnerBorderPen;
2417
public
Pen
HighlightStroke;
2418
public
Pen
GlyphStroke;
Microsoft\Windows\Themes\ButtonChrome.cs (24)
539
Pen
pen = null;
565
Pen
commonPen = new Pen(border, 1);
599
Pen
overlayPen = BorderOverlayPen;
652
Pen
innerBorder = InnerBorderPen;
805
private static
Pen
CommonHoverBorderOverlay
815
Pen
temp = new Pen();
827
private static
Pen
CommonPressedBorderOverlay
837
Pen
temp = new Pen();
850
private static
Pen
CommonDisabledBorderOverlay
860
Pen
temp = new Pen();
872
private
Pen
BorderOverlayPen
920
private static
Pen
CommonInnerBorderPen
930
Pen
temp = new Pen();
952
private static
Pen
CommonDefaultedInnerBorderPen
962
Pen
temp = new Pen();
976
private
Pen
InnerBorderPen
1143
private static
Pen
_commonBorderPen;
1144
private static
Pen
_commonInnerBorderPen;
1146
private static
Pen
_commonDisabledBorderOverlay;
1149
private static
Pen
_commonDefaultedInnerBorderPen;
1152
private static
Pen
_commonHoverBorderOverlay;
1156
private static
Pen
_commonPressedBorderOverlay;
1170
public
Pen
BorderOverlayPen;
1171
public
Pen
InnerBorderPen;
Microsoft\Windows\Themes\ListBoxChrome.cs (17)
371
Pen
pen = GetBorderPen(BorderBrush);
372
Pen
overlayPen = BorderOverlayPen;
415
private static
Pen
GetBorderPen(Brush border)
417
Pen
pen = null;
443
Pen
commonPen = new Pen(border, 1);
527
private static
Pen
CommonHoverBorderOverlay
537
Pen
temp = new Pen();
561
private static
Pen
CommonFocusedBorderOverlay
571
Pen
temp = new Pen();
596
private static
Pen
CommonDisabledBorderOverlay
606
Pen
temp = new Pen();
637
private
Pen
BorderOverlayPen
673
private static
Pen
_commonBorderPen;
675
private static
Pen
_commonDisabledBorderOverlay;
676
private static
Pen
_commonHoverBorderOverlay;
677
private static
Pen
_commonFocusedBorderOverlay;
687
public
Pen
BorderOverlayPen;
Microsoft\Windows\Themes\ScrollChrome.cs (23)
461
Pen
pen = Shadow;
480
Pen
pen = OuterBorder;
1070
private static
Pen
CommonThumbOuterBorder
1080
Pen
temp = new Pen();
1094
private static
Pen
CommonThumbHoverOuterBorder
1104
Pen
temp = new Pen();
1118
private static
Pen
CommonThumbPressedOuterBorder
1128
Pen
temp = new Pen();
1142
private
Pen
OuterBorder
1197
private static
Pen
CommonThumbInnerBorder
1207
Pen
temp = new Pen();
1222
private
Pen
InnerBorder
1268
private static
Pen
CommonThumbShadow
1278
Pen
temp = new Pen();
1293
private
Pen
Shadow
1783
private static
Pen
_commonThumbOuterBorder;
1784
private static
Pen
_commonThumbInnerBorder;
1785
private static
Pen
_commonThumbShadow;
1792
private static
Pen
_commonThumbHoverOuterBorder;
1798
private static
Pen
_commonThumbPressedOuterBorder;
1818
public
Pen
OuterBorder;
1819
public
Pen
InnerBorder;
1820
public
Pen
Shadow;
PresentationFramework.AeroLite (11)
Microsoft\Windows\Themes\ScrollChrome.cs (11)
210
Pen
pen = Border;
362
private static
Pen
CommonThumbBorder
372
Pen
temp = new Pen();
386
private static
Pen
CommonThumbHoverBorder
396
Pen
temp = new Pen();
410
private static
Pen
CommonThumbPressedBorder
420
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)
383
Pen
pen;
476
Pen
pen = InnerHighlight;
495
Pen
borderPen = BorderPen;
550
private static
Pen
CommonDisabledBorderPenNC
562
Pen
temp = new Pen(brush, 1);
574
private static
Pen
CommonDisabledBorderPenHS
586
Pen
temp = new Pen(brush, 1);
599
private static
Pen
CommonDisabledBorderPenM
611
Pen
temp = new Pen(brush, 1);
623
private
Pen
BorderPen
637
Pen
pen = null;
664
Pen
commonPen = new Pen(brush, 1);
700
private static
Pen
CommonOuterHighlight
718
Pen
temp = new Pen(brush, 1.3333333333);
730
private
Pen
OuterHighlight
740
private static
Pen
CommonDefaultedInnerHighlightNC
759
Pen
temp = new Pen(brush, 2.6666666667);
771
private static
Pen
CommonDefaultedInnerHighlightHS
790
Pen
temp = new Pen(brush, 2.6666666667);
802
private static
Pen
CommonDefaultedInnerHighlightM
821
Pen
temp = new Pen(brush, 2.6666666667);
833
private static
Pen
CommonHoverInnerHighlightNC
852
Pen
temp = new Pen(brush, 2.6666666667);
864
private static
Pen
CommonHoverInnerHighlightHS
883
Pen
temp = new Pen(brush, 2.6666666667);
896
private static
Pen
CommonHoverInnerHighlightM
915
Pen
temp = new Pen(brush, 2.6666666667);
929
private
Pen
InnerHighlight
1457
private static
Pen
_commonBorderPen;
1459
private static
Pen
_commonDisabledBorderPenNC;
1460
private static
Pen
_commonDisabledBorderPenHS;
1461
private static
Pen
_commonDisabledBorderPenM;
1464
private static
Pen
_commonOuterHighlight;
1474
private static
Pen
_commonDefaultedInnerHighlightNC;
1475
private static
Pen
_commonDefaultedInnerHighlightHS;
1476
private static
Pen
_commonDefaultedInnerHighlightM;
1478
private static
Pen
_commonHoverInnerHighlightNC;
1479
private static
Pen
_commonHoverInnerHighlightHS;
1480
private static
Pen
_commonHoverInnerHighlightM;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
201
Pen
tabStroke = (
Pen
)GetCachedFreezable((int)LunaFreezables.TabStroke);
Microsoft\Windows\Themes\ScrollChrome.cs (62)
300
Pen
pen = Shadow;
320
Pen
pen = OuterBorder;
1877
private static
Pen
CommonOuterBorderPenNC
1887
Pen
temp = new Pen();
1899
private static
Pen
CommonOuterBorderPenHS
1909
Pen
temp = new Pen();
1921
private static
Pen
CommonOuterBorderPenM
1931
Pen
temp = new Pen();
1943
private static
Pen
CommonHoverOuterBorderPenM
1953
Pen
temp = new Pen();
1965
private static
Pen
CommonPressedOuterBorderPenM
1975
Pen
temp = new Pen();
1988
private
Pen
OuterBorder
2022
private static
Pen
CommonDisabledInnerBorderPen
2032
Pen
temp = new Pen();
2044
private static
Pen
CommonInnerBorderPenNC
2054
Pen
temp = new Pen();
2068
private static
Pen
CommonHoverInnerBorderPenNC
2078
Pen
temp = new Pen();
2090
private static
Pen
CommonHoverThumbInnerBorderPenNC
2100
Pen
temp = new Pen();
2112
private static
Pen
CommonPressedInnerBorderPenNC
2122
Pen
temp = new Pen();
2134
private static
Pen
CommonInnerBorderPenHS
2144
Pen
temp = new Pen();
2156
private static
Pen
CommonHoverInnerBorderPenHS
2166
Pen
temp = new Pen();
2179
private static
Pen
CommonPressedInnerBorderPenHS
2189
Pen
temp = new Pen();
2201
private static
Pen
CommonInnerBorderPenM
2211
Pen
temp = new Pen();
2223
private static
Pen
CommonHoverInnerBorderPenM
2233
Pen
temp = new Pen();
2246
private static
Pen
CommonPressedInnerBorderPenM
2256
Pen
temp = new Pen();
2270
private
Pen
InnerBorder
2316
private static
Pen
CommonDisabledShadowPen
2326
Pen
temp = new Pen();
2348
private static
Pen
CommonShadowPenNC
2358
Pen
temp = new Pen();
2380
private static
Pen
CommonShadowPenHS
2390
Pen
temp = new Pen();
2412
private
Pen
Shadow
2502
private static
Pen
_commonOuterBorderPenNC;
2504
private static
Pen
_commonOuterBorderPenHS;
2506
private static
Pen
_commonOuterBorderPenM;
2507
private static
Pen
_commonHoverOuterBorderPenM;
2508
private static
Pen
_commonPressedOuterBorderPenM;
2511
private static
Pen
_commonDisabledInnerBorderPen;
2513
private static
Pen
_commonInnerBorderPenNC;
2514
private static
Pen
_commonInnerBorderPenHS;
2515
private static
Pen
_commonInnerBorderPenM;
2517
private static
Pen
_commonHoverInnerBorderPenNC;
2518
private static
Pen
_commonHoverThumbInnerBorderPenNC;
2520
private static
Pen
_commonHoverInnerBorderPenHS;
2521
private static
Pen
_commonHoverInnerBorderPenM;
2523
private static
Pen
_commonPressedInnerBorderPenNC;
2524
private static
Pen
_commonPressedInnerBorderPenHS;
2525
private static
Pen
_commonPressedInnerBorderPenM;
2527
private static
Pen
_commonDisabledShadowPen;
2529
private static
Pen
_commonShadowPenNC;
2530
private static
Pen
_commonShadowPenHS;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (18)
259
Pen
highlightPen = HighlightPen;
337
Pen
borderPen = BorderPen;
361
Pen
borderPen = BorderPen;
374
private static
Pen
GetBorderPen(Brush border)
376
Pen
pen = null;
403
Pen
commonPen = new Pen(border, 1);
669
private static
Pen
CommonDisabledBorderPen
679
Pen
temp = new Pen();
691
private static
Pen
CommonCheckBoxHoverHighlightPen
701
Pen
temp = new Pen();
722
private static
Pen
CommonRadioButtonHoverHighlightPen
732
Pen
temp = new Pen();
938
private
Pen
BorderPen
952
private
Pen
HighlightPen
986
private static
Pen
_commonBorderPen;
990
private static
Pen
_commonDisabledBorderPen;
992
private static
Pen
_commonCheckBoxHoverHighlightPen;
993
private static
Pen
_commonRadioButtonHoverHighlightPen;
PresentationFramework.Royale (55)
Microsoft\Windows\Themes\ButtonChrome.cs (20)
397
Pen
pen = InnerHighlight;
416
Pen
borderPen = BorderPen;
465
private static
Pen
CommonDisabledBorderPen
477
Pen
temp = new Pen(brush, 1);
489
private
Pen
BorderPen
496
Pen
pen = null;
523
Pen
commonPen = new Pen(brush, 1);
559
private static
Pen
CommonOuterHighlight
577
Pen
temp = new Pen(brush, 1.3333333333);
589
private
Pen
OuterHighlight
599
private static
Pen
CommonDefaultedInnerHighlight
618
Pen
temp = new Pen(brush, 2.6666666667);
631
private static
Pen
CommonHoverInnerHighlight
650
Pen
temp = new Pen(brush, 2.6666666667);
663
private
Pen
InnerHighlight
941
private static
Pen
_commonBorderPen;
942
private static
Pen
_commonDisabledBorderPen;
944
private static
Pen
_commonOuterHighlight;
952
private static
Pen
_commonDefaultedInnerHighlight;
954
private static
Pen
_commonHoverInnerHighlight;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
130
Pen
tabStroke = (
Pen
)GetCachedFreezable((int)RoyaleFreezables.TabStroke);
Microsoft\Windows\Themes\ScrollChrome.cs (15)
280
Pen
pen = OuterBorder;
993
private static
Pen
CommonDisabledOuterBorderPen
1003
Pen
temp = new Pen();
1023
private static
Pen
CommonOuterBorderPen
1033
Pen
temp = new Pen();
1045
private static
Pen
CommonHoverOuterBorderPen
1055
Pen
temp = new Pen();
1068
private
Pen
OuterBorder
1083
private static
Pen
CommonInnerBorderPen
1093
Pen
temp = new Pen();
1105
private
Pen
InnerBorder
1143
private static
Pen
_commonDisabledOuterBorderPen;
1144
private static
Pen
_commonOuterBorderPen;
1146
private static
Pen
_commonHoverOuterBorderPen;
1148
private static
Pen
_commonInnerBorderPen;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (18)
259
Pen
highlightPen = HighlightPen;
337
Pen
borderPen = BorderPen;
361
Pen
borderPen = BorderPen;
374
private static
Pen
GetBorderPen(Brush border)
376
Pen
pen = null;
403
Pen
commonPen = new Pen(border, 1);
669
private static
Pen
CommonDisabledBorderPen
679
Pen
temp = new Pen();
691
private static
Pen
CommonCheckBoxHoverHighlightPen
701
Pen
temp = new Pen();
722
private static
Pen
CommonRadioButtonHoverHighlightPen
732
Pen
temp = new Pen();
938
private
Pen
BorderPen
952
private
Pen
HighlightPen
986
private static
Pen
_commonBorderPen;
990
private static
Pen
_commonDisabledBorderPen;
992
private static
Pen
_commonCheckBoxHoverHighlightPen;
993
private static
Pen
_commonRadioButtonHoverHighlightPen;
ReachFramework (25)
AlphaFlattener\BrushProxy.cs (8)
166
private PenProxy(
Pen
pen, BrushProxy brush)
184
public
Pen
GetPen(bool ignoreBrushProxy)
194
Pen
p = _pen.CloneCurrentValue();
271
public static PenProxy CreatePen(
Pen
pen, Rect bounds)
304
public static PenProxy CreateUserPen(
Pen
pen, Rect bounds, Matrix brushToWorldTransformHint, TreeWalkProgress treeWalkProgress)
334
public static bool IsNull(
Pen
pen)
349
private
Pen
_pen;
1274
public void DrawGeometry(DrawingContext dc,
Pen
pen, Geometry geo)
AlphaFlattener\DrawingContext.cs (2)
632
private static double DrawGeometryCost(Brush b,
Pen
p, Geometry g)
759
Pen
p = null;
AlphaFlattener\Flattener.cs (3)
1025
Pen
black = new Pen(Brushes.Black, 0.8);
1048
Pen
pen = new Pen(Brushes.Blue, 0.8);
1381
void ILegacyDevice.DrawGeometry(Brush brush,
Pen
pen, Brush strokeBrush, Geometry geometry)
AlphaFlattener\Interfaces.cs (1)
23
void DrawGeometry(Brush brush,
Pen
pen, Geometry geometry);
AlphaFlattener\MetroDevice.cs (2)
149
public void DrawGeometry(Brush brush,
Pen
pen, Geometry geometry)
693
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)
225
private
Pen
ReducePen(
Pen
pen, Rect bounds)
252
public void DrawGeometry(Brush brush,
Pen
pen, Geometry geometry)
905
public void DrawGeometry(Brush brush,
Pen
pen, Geometry geometry)
Serialization\VisualSerializer.cs (3)
919
protected void WritePen(
Pen
pen, Rect bounds, bool isLineGeometry)
1153
static private bool Visible(Brush brush,
Pen
pen)
1852
void IMetroDrawingContext.DrawGeometry(Brush brush,
Pen
pen, Geometry geometry)
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (3)
143
Pen
separatorPen = SeparatorPen;
241
private
Pen
SeparatorPen
264
Pen
_separatorPen;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (3)
241
Pen
separatorPen = SeparatorPen;
333
private
Pen
SeparatorPen
786
Pen
_separatorPen = null;