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