137 instantiations of Pen
PresentationCore (1)
Core\CSharp\System\Windows\Media\Generated\Pen.cs (1)
368return new Pen();
PresentationFramework (28)
src\Framework\MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
48_adornerBorderPen = new Pen(Brushes.Black, 1.0);
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
48_adornerBorderPen = new Pen(Brushes.Black, 1.0); 56_adornerPenBrush = new Pen(new SolidColorBrush(Color.FromRgb(132, 146, 222)), 1); 78Pen squareCapPen = new Pen(Brushes.Black, LineThickness); 100_hatchPen = new Pen(tileBrush, HatchBorderMargin);
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
230ctx.DrawGeometry(selectionBrush, new Pen() { Brush = selectionBrush }, selectionGeometry);
src\Framework\MS\Internal\Ink\LassoHelper.cs (1)
315_pen = new Pen(new SolidColorBrush(DotCircumferenceColor), DotCircumferenceThickness);
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
480Pen pen1 = new Pen(Brushes.Gray, 0.7);
src\Framework\MS\Internal\PtsHost\ParagraphVisual.cs (4)
94Pen pen = new Pen(); 116pen = new Pen(); 127pen = new Pen(); 138pen = new Pen();
src\Framework\MS\Internal\PtsHost\SectionVisual.cs (1)
111Pen pen = new Pen(columnRuleBrush, ruleWidth);
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
166pen = new Pen(brush, 1);
src\Framework\System\Windows\Controls\Border.cs (4)
417pen = new Pen(); 481pen = new Pen(); 514pen = new Pen(); 545pen = new Pen();
src\Framework\System\Windows\Controls\Grid.cs (2)
4200s_oddDashPen = new Pen(Brushes.Blue, c_penWidth); 4208s_evenDashPen = new Pen(Brushes.Yellow, c_penWidth);
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (1)
445Pen pen = new Pen(Fill, 1.0d);
src\Framework\System\Windows\Documents\ColumnResizeAdorner.cs (1)
49_pen = new Pen(new SolidColorBrush(Colors.LightSlateGray), 2.0);
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
187Pen pen = new Pen(new SolidColorBrush(Colors.Black), lineHeight);
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (2)
153Pen pen = new Pen(Brushes.Red, 0.33); 173new Pen(brush, 3),
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7447bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Pen(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1448case KnownElements.Pen: o = new System.Windows.Media.Pen(); break;
src\Framework\System\Windows\Shapes\Shape.cs (1)
495_pen = new Pen();
PresentationFramework.Aero (40)
Microsoft\Windows\Themes\BulletChrome.cs (23)
810Pen commonPen = new Pen(border, 1); 835pen = new Pen(border, 1); 917Pen temp = new Pen(); 941Pen temp = new Pen(); 964Pen temp = new Pen(); 987Pen temp = new Pen(); 1009Pen temp = new Pen(); 1042Pen temp = new Pen(); 1074Pen temp = new Pen(); 1384Pen temp = new Pen(); 1406Pen temp = new Pen(); 1428Pen temp = new Pen(); 1450Pen temp = new Pen(); 1482Pen temp = new Pen(); 1514Pen temp = new Pen(); 1546Pen temp = new Pen(); 1578Pen temp = new Pen(); 1610Pen temp = new Pen(); 1642Pen temp = new Pen(); 1674Pen temp = new Pen(); 1707Pen temp = new Pen(); 1738Pen temp = new Pen(); 1769Pen temp = new Pen();
Microsoft\Windows\Themes\ButtonChrome.cs (7)
571Pen commonPen = new Pen(border, 1); 596pen = new Pen(border, 1); 821Pen temp = new Pen(); 843Pen temp = new Pen(); 866Pen temp = new Pen(); 936Pen temp = new Pen(); 968Pen temp = new Pen();
Microsoft\Windows\Themes\ListBoxChrome.cs (5)
449Pen commonPen = new Pen(border, 1); 474pen = new Pen(border, 1); 543Pen temp = new Pen(); 577Pen temp = new Pen(); 612Pen temp = new Pen();
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1086Pen temp = new Pen(); 1110Pen temp = new Pen(); 1134Pen temp = new Pen(); 1213Pen temp = new Pen(); 1284Pen temp = new Pen();
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (2)
1336dc.DrawGeometry(DarkDarkBrush, new Pen(DarkBrush, 1.0), TopLeftArcGeometry); 1337dc.DrawGeometry(LightBrush, new Pen(LightLightBrush, 1.0), BottomRightArcGeometry);
PresentationFramework.Luna (37)
Microsoft\Windows\Themes\ButtonChrome.cs (12)
570Pen temp = new Pen(brush, 1); 594Pen temp = new Pen(brush, 1); 619Pen temp = new Pen(brush, 1); 672Pen commonPen = new Pen(brush, 1); 697pen = new Pen(brush, 1); 726Pen temp = new Pen(brush, 1.3333333333); 767Pen temp = new Pen(brush, 2.6666666667); 798Pen temp = new Pen(brush, 2.6666666667); 829Pen temp = new Pen(brush, 2.6666666667); 860Pen temp = new Pen(brush, 2.6666666667); 891Pen temp = new Pen(brush, 2.6666666667); 923Pen temp = new Pen(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
209tabStroke = new Pen(tabStrokeBrush, 1.0);
Microsoft\Windows\Themes\ScrollChrome.cs (19)
1893Pen temp = new Pen(); 1915Pen temp = new Pen(); 1937Pen temp = new Pen(); 1959Pen temp = new Pen(); 1981Pen temp = new Pen(); 2038Pen temp = new Pen(); 2060Pen temp = new Pen(); 2084Pen temp = new Pen(); 2106Pen temp = new Pen(); 2128Pen temp = new Pen(); 2150Pen temp = new Pen(); 2172Pen temp = new Pen(); 2195Pen temp = new Pen(); 2217Pen temp = new Pen(); 2239Pen temp = new Pen(); 2262Pen temp = new Pen(); 2332Pen temp = new Pen(); 2364Pen temp = new Pen(); 2396Pen temp = new Pen();
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
408Pen commonPen = new Pen(border, 1); 433pen = new Pen(border, 1); 684Pen temp = new Pen(); 706Pen temp = new Pen(); 737Pen temp = new Pen();
PresentationFramework.Royale (16)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
485Pen temp = new Pen(brush, 1); 531Pen commonPen = new Pen(brush, 1); 556pen = new Pen(brush, 1); 585Pen temp = new Pen(brush, 1.3333333333); 626Pen temp = new Pen(brush, 2.6666666667); 658Pen temp = new Pen(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
138tabStroke = new Pen(tabStrokeBrush, 1.0);
Microsoft\Windows\Themes\ScrollChrome.cs (4)
1009Pen temp = new Pen(); 1039Pen temp = new Pen(); 1061Pen temp = new Pen(); 1099Pen temp = new Pen();
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
408Pen commonPen = new Pen(border, 1); 433pen = new Pen(border, 1); 684Pen temp = new Pen(); 706Pen temp = new Pen(); 737Pen temp = new Pen();
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartExpressionAdorner.cs (1)
62Pen renderPen = new Pen();
System.Activities.Presentation (12)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
284strokePen = new Pen(borderBrush, borderWidth);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyPanel.cs (1)
279Pen outlinePen = new Pen(outlineBrush, outlineThickness);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectAdorner.cs (3)
35private Pen hitTestPen = new Pen(Brushes.Transparent, 0); 37private Pen renderPen = new Pen(Brushes.LightBlue, 1.0); 39private Pen highlightPen = new Pen(Brushes.SteelBlue, 1);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitAdorner.cs (1)
17private Pen pen = new Pen(Brushes.SteelBlue, 1);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointsAdorner.cs (3)
36this.renderPen = new Pen(new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementSelectedBorderColor), 1.0); 41this.renderPen = new Pen(new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementBorderColor), 1.0); 63drawingContext.DrawRectangle(Brushes.Transparent, new Pen(Brushes.Transparent, 0),
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorCreationAdorner.cs (1)
30Pen renderPen = new Pen(renderBrush, FreeFormPanel.ConnectorEditorThickness);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (1)
603Pen renderPen = new Pen(new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementSelectedBorderColor), FreeFormPanel.ConnectorEditorThickness);
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (1)
62Pen renderPen = new Pen();
520 references to Pen
PresentationCore (147)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1491Pen textDecorationPen = textDecoration.Pen.CloneCurrentValue();
Core\CSharp\system\windows\generated\TextDecoration.cs (3)
90public Pen Pen 94return (Pen) GetValue(PenProperty); 294typeof(Pen),
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (10)
83Pen pen, 87if (Pen.ContributesToBounds(pen)) 121Pen pen, 124if ((brush != null) || Pen.ContributesToBounds(pen)) 167Pen pen, 172if ((brush != null) || Pen.ContributesToBounds(pen)) 217Pen pen, 222if ((brush != null) || Pen.ContributesToBounds(pen)) 257Pen pen, 260if ((geometry != null) && ((brush != null) || Pen.ContributesToBounds(pen)))
Core\CSharp\System\Windows\Media\CombinedGeometry.cs (2)
139internal override Rect GetBoundsInternal(Pen pen, Matrix matrix, double tolerance, ToleranceType type) 154internal override bool ContainsInternal(Pen pen, Point hitPoint, double tolerance, ToleranceType type)
Core\CSharp\System\Windows\Media\DrawingDrawingContext.cs (10)
63Pen pen, 87Pen pen, 163Pen pen, 192Pen pen, 269Pen pen, 310Pen pen, 405Pen pen, 448Pen pen, 532Pen pen, 1341private void AddNewGeometryDrawing(Brush brush, Pen pen, Geometry geometry)
Core\CSharp\System\Windows\Media\EllipseGeometry.cs (4)
144internal override Rect GetBoundsInternal(Pen pen, Matrix matrix, double tolerance, ToleranceType type) 166internal static Rect GetBoundsHelper(Pen pen, Matrix worldMatrix, Point center, double radiusX, double radiusY, 179if (Pen.ContributesToBounds(pen)) 222internal override bool ContainsInternal(Pen pen, Point hitPoint, double tolerance, ToleranceType type)
Core\CSharp\System\Windows\Media\Generated\DrawingContext.cs (9)
49Pen pen, 64Pen pen, 86Pen pen, 106Pen pen, 134Pen pen, 166Pen pen, 200Pen pen, 234Pen pen, 258Pen pen,
Core\CSharp\System\Windows\Media\Generated\DrawingContextDrawingContextWalker.cs (9)
50Pen pen, 72Pen pen, 102Pen pen, 129Pen pen, 164Pen pen, 205Pen pen, 250Pen pen, 293Pen pen, 328Pen pen,
Core\CSharp\System\Windows\Media\Generated\DrawingContextWalker.cs (9)
50Pen pen, 68Pen pen, 93Pen pen, 116Pen pen, 147Pen pen, 182Pen pen, 219Pen pen, 256Pen pen, 283Pen pen,
Core\CSharp\System\Windows\Media\Generated\GeometryDrawing.cs (10)
162Pen oldV = (Pen) e.OldValue; 163Pen newV = (Pen) e.NewValue; 256public Pen Pen 260return (Pen) GetValue(PenProperty); 331Pen vPen = Pen; 363Pen vPen = Pen; 386Pen vPen = Pen; 500typeof(Pen),
Core\CSharp\System\Windows\Media\Generated\Pen.cs (21)
65public new Pen Clone() 67return (Pen)base.Clone(); 74public new Pen CloneCurrentValue() 76return (Pen)base.CloneCurrentValue(); 111Pen target = ((Pen) d); 140Pen target = ((Pen) d); 147Pen target = ((Pen) d); 154Pen target = ((Pen) d); 161Pen target = ((Pen) d); 168Pen target = ((Pen) d); 175Pen target = ((Pen) d); 201Pen target = ((Pen) d); 598Type typeofThis = typeof(Pen);
Core\CSharp\System\Windows\Media\Generated\RenderData.cs (18)
1170(Pen)DependentLookup(data->hPen), 1182(data->hPen == 0) ? null : (Pen)DependentLookup(data->hPen), 1195(Pen)DependentLookup(data->hPen), 1207(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), 1261(data->hPen == 0) ? null : (Pen)DependentLookup(data->hPen), 1275(Pen)DependentLookup(data->hPen), 1516(Pen)DependentLookup(data->hPen), 1528(Pen)DependentLookup(data->hPen), 1543(Pen)DependentLookup(data->hPen), 1555(Pen)DependentLookup(data->hPen), 1568(Pen)DependentLookup(data->hPen), 1582(Pen)DependentLookup(data->hPen), 1599(Pen)DependentLookup(data->hPen), 1613(Pen)DependentLookup(data->hPen), 1630(Pen)DependentLookup(data->hPen),
Core\CSharp\System\Windows\Media\Generated\RenderDataDrawingContext.cs (9)
54Pen pen, 111Pen pen, 181Pen pen, 243Pen pen, 316Pen pen, 392Pen pen, 479Pen pen, 557Pen pen, 634Pen pen,
Core\CSharp\System\Windows\Media\Geometry.cs (14)
98public virtual Rect GetRenderBounds(Pen pen, double tolerance, ToleranceType type) 110public Rect GetRenderBounds(Pen pen) 137internal virtual Rect GetBoundsInternal(Pen pen, Matrix matrix, double tolerance, ToleranceType type) 159internal Rect GetBoundsInternal(Pen pen, Matrix matrix) 170Pen pen, 185bool fPenContributesToBounds = Pen.ContributesToBounds(pen); 384public bool StrokeContains(Pen pen, Point hitPoint, double tolerance, ToleranceType type) 406internal virtual bool ContainsInternal(Pen pen, Point hitPoint, double tolerance, ToleranceType type) 475internal unsafe bool ContainsInternal(Pen pen, Point hitPoint, double tolerance, ToleranceType type, 525public bool StrokeContains(Pen pen, Point hitPoint) 587public IntersectionDetail StrokeContainsWithDetail(Pen pen, Geometry geometry, double tolerance, ToleranceType type) 604public IntersectionDetail StrokeContainsWithDetail(Pen pen, Geometry geometry) 714public virtual PathGeometry GetWidenedPathGeometry(Pen pen, double tolerance, ToleranceType type) 808public PathGeometry GetWidenedPathGeometry(Pen pen)
Core\CSharp\System\Windows\Media\GeometryDrawing.cs (1)
41public GeometryDrawing(Brush brush, Pen pen, Geometry geometry)
Core\CSharp\System\Windows\Media\HitTestDrawingContextWalker.cs (4)
62Pen pen, 86Pen pen, 117Pen pen, 152Pen pen,
Core\CSharp\System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
119Pen pen,
Core\CSharp\System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
82Pen pen,
Core\CSharp\System\Windows\Media\LineGeometry.cs (3)
92internal override Rect GetBoundsInternal(Pen pen, Matrix worldMatrix, double tolerance, ToleranceType type) 113internal static Rect GetBoundsHelper(Pen pen, Matrix worldMatrix, Point pt1, Point pt2, 154internal override bool ContainsInternal(Pen pen, Point hitPoint, double tolerance, ToleranceType type)
Core\CSharp\System\Windows\Media\PathGeometry.cs (2)
780Pen pen, 818Pen pen,
Core\CSharp\System\Windows\Media\Pen.cs (1)
161Pen pen)
Core\CSharp\System\Windows\Media\RectangleGeometry.cs (4)
172internal override Rect GetBoundsInternal(Pen pen, Matrix worldMatrix, double tolerance, ToleranceType type) 194internal static Rect GetBoundsHelper(Pen pen, Matrix worldMatrix, Rect rect, double radiusX, double radiusY, 213if (Pen.ContributesToBounds(pen)) 261internal override bool ContainsInternal(Pen pen, Point hitPoint, double tolerance, ToleranceType type)
Core\CSharp\system\windows\TextDecoration.cs (1)
44Pen pen,
PresentationFramework (42)
src\Framework\MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
185private Pen _adornerBorderPen;
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
78Pen squareCapPen = new Pen(Brushes.Black, LineThickness); 441private Pen _adornerBorderPen; 442private Pen _adornerPenBrush; 444private Pen _hatchPen;
src\Framework\MS\Internal\Ink\LassoHelper.cs (1)
31Pen _pen = null;
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
480Pen pen1 = new Pen(Brushes.Gray, 0.7);
src\Framework\MS\Internal\PtsHost\ParagraphVisual.cs (1)
94Pen pen = new Pen();
src\Framework\MS\Internal\PtsHost\SectionVisual.cs (1)
111Pen pen = new Pen(columnRuleBrush, ruleWidth);
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
159Pen pen = null;
src\Framework\System\Windows\Controls\Border.cs (13)
414Pen pen = LeftPenCache; 807private static readonly UncommonField<Pen> LeftPenField = new UncommonField<Pen>(); 808private static readonly UncommonField<Pen> RightPenField = new UncommonField<Pen>(); 809private static readonly UncommonField<Pen> TopPenField = new UncommonField<Pen>(); 810private static readonly UncommonField<Pen> BottomPenField = new UncommonField<Pen>(); 852private Pen LeftPenCache 872private Pen RightPenCache 892private Pen TopPenCache 912private Pen BottomPenCache
src\Framework\System\Windows\Controls\Grid.cs (2)
4268private static readonly Pen s_oddDashPen; // first pen to draw dash 4269private static readonly Pen s_evenDashPen; // second pen to draw dash
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (1)
445Pen pen = new Pen(Fill, 1.0d);
src\Framework\System\windows\Documents\CaretElement.cs (1)
143Pen selectionOutlinePen = null;
src\Framework\System\Windows\Documents\ColumnResizeAdorner.cs (1)
198private Pen _pen;
src\Framework\System\Windows\Documents\CompositionAdorner.cs (2)
172Pen selectionPen = null; 187Pen pen = new Pen(new SolidColorBrush(Colors.Black), lineHeight);
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
153Pen pen = new Pen(Brushes.Red, 0.33);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
542case 450: t = () => typeof(Pen); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7744Type type = typeof(System.Windows.Media.Pen); 7745DependencyProperty dp = System.Windows.Media.Pen.LineJoinProperty; 7747this.GetXamlType(typeof(System.Windows.Media.Pen)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7445typeof(System.Windows.Media.Pen),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5994case KnownElements.Pen: t = typeof(System.Windows.Media.Pen); break;
src\Framework\System\Windows\Shapes\Ellipse.cs (1)
197Pen pen = GetPen();
src\Framework\System\Windows\Shapes\Rectangle.cs (1)
244Pen pen = GetPen();
src\Framework\System\Windows\Shapes\Shape.cs (3)
479internal Pen GetPen() 700Pen pen = GetPen(); 776private Pen _pen = null;
PresentationFramework.Aero (143)
Microsoft\Windows\Themes\BulletChrome.cs (79)
684Pen innerBorder = InnerBorderPen; 701Pen innerBorder = InnerBorderPen; 747Pen pen = GetBorderPen(BorderBrush); 748Pen overlayPen = BorderOverlayPen; 781private static Pen GetBorderPen(Brush border) 783Pen pen = null; 810Pen commonPen = new Pen(border, 1); 907private static Pen CommonCheckMarkStroke 917Pen temp = new Pen(); 931private static Pen CommonCheckMarkPressedStroke 941Pen temp = new Pen(); 954private static Pen CommonRadioButtonDisabledGlyphStroke 964Pen temp = new Pen(); 977private static Pen CommonRadioButtonGlyphStroke 987Pen temp = new Pen(); 999private static Pen CommonIndeterminateHighlight 1009Pen temp = new Pen(); 1032private static Pen CommonIndeterminateHoverHighlight 1042Pen temp = new Pen(); 1064private static Pen CommonIndeterminatePressedHighlight 1074Pen temp = new Pen(); 1094private Pen HighlightStroke 1374private static Pen CommonHoverBorderOverlay 1384Pen temp = new Pen(); 1396private static Pen CommonPressedBorderOverlay 1406Pen temp = new Pen(); 1418private static Pen CommonDisabledBorderOverlay 1428Pen temp = new Pen(); 1440private static Pen CommonCheckBoxDisabledInnerBorderPen 1450Pen temp = new Pen(); 1472private static Pen CommonCheckBoxInnerBorderPen 1482Pen temp = new Pen(); 1504private static Pen CommonCheckBoxHoverInnerBorderPen 1514Pen temp = new Pen(); 1536private static Pen CommonCheckBoxPressedInnerBorderPen 1546Pen temp = new Pen(); 1568private static Pen CommonIndeterminateDisabledInnerBorderPen 1578Pen temp = new Pen(); 1600private static Pen CommonIndeterminateInnerBorderPen 1610Pen temp = new Pen(); 1632private static Pen CommonIndeterminateHoverInnerBorderPen 1642Pen temp = new Pen(); 1664private static Pen CommonIndeterminatePressedInnerBorderPen 1674Pen temp = new Pen(); 1697private static Pen CommonRadioButtonInnerBorderPen 1707Pen temp = new Pen(); 1728private static Pen CommonRadioButtonHoverInnerBorderPen 1738Pen temp = new Pen(); 1759private static Pen CommonRadioButtonPressedInnerBorderPen 1769Pen temp = new Pen(); 2075private Pen GlyphStroke 2240private Pen BorderOverlayPen 2277private Pen InnerBorderPen 2364private static Pen _commonCheckMarkStroke; 2365private static Pen _commonCheckMarkPressedStroke; 2369private static Pen _commonRadioButtonDisabledGlyphStroke; 2370private static Pen _commonRadioButtonGlyphStroke; 2381private static Pen _commonIndeterminateInnerBorderPen; 2382private static Pen _commonIndeterminateHoverInnerBorderPen; 2383private static Pen _commonIndeterminatePressedInnerBorderPen; 2384private static Pen _commonIndeterminateDisabledInnerBorderPen; 2386private static Pen _commonIndeterminateHighlight; 2387private static Pen _commonIndeterminateHoverHighlight; 2388private static Pen _commonIndeterminatePressedHighlight; 2390private static Pen _commonBorderPen; 2391private static Pen _commonCheckBoxInnerBorderPen; 2392private static Pen _commonRadioButtonInnerBorderPen; 2395private static Pen _commonDisabledBorderOverlay; 2397private static Pen _commonCheckBoxDisabledInnerBorderPen; 2400private static Pen _commonHoverBorderOverlay; 2401private static Pen _commonCheckBoxHoverInnerBorderPen; 2402private static Pen _commonRadioButtonHoverInnerBorderPen; 2406private static Pen _commonPressedBorderOverlay; 2407private static Pen _commonCheckBoxPressedInnerBorderPen; 2408private static Pen _commonRadioButtonPressedInnerBorderPen; 2419public Pen BorderOverlayPen; 2420public Pen InnerBorderPen; 2423public Pen HighlightStroke; 2424public Pen GlyphStroke;
Microsoft\Windows\Themes\ButtonChrome.cs (24)
545Pen pen = null; 571Pen commonPen = new Pen(border, 1); 605Pen overlayPen = BorderOverlayPen; 658Pen innerBorder = InnerBorderPen; 811private static Pen CommonHoverBorderOverlay 821Pen temp = new Pen(); 833private static Pen CommonPressedBorderOverlay 843Pen temp = new Pen(); 856private static Pen CommonDisabledBorderOverlay 866Pen temp = new Pen(); 878private Pen BorderOverlayPen 926private static Pen CommonInnerBorderPen 936Pen temp = new Pen(); 958private static Pen CommonDefaultedInnerBorderPen 968Pen temp = new Pen(); 982private Pen InnerBorderPen 1149private static Pen _commonBorderPen; 1150private static Pen _commonInnerBorderPen; 1152private static Pen _commonDisabledBorderOverlay; 1155private static Pen _commonDefaultedInnerBorderPen; 1158private static Pen _commonHoverBorderOverlay; 1162private static Pen _commonPressedBorderOverlay; 1176public Pen BorderOverlayPen; 1177public Pen InnerBorderPen;
Microsoft\Windows\Themes\ListBoxChrome.cs (17)
377Pen pen = GetBorderPen(BorderBrush); 378Pen overlayPen = BorderOverlayPen; 421private static Pen GetBorderPen(Brush border) 423Pen pen = null; 449Pen commonPen = new Pen(border, 1); 533private static Pen CommonHoverBorderOverlay 543Pen temp = new Pen(); 567private static Pen CommonFocusedBorderOverlay 577Pen temp = new Pen(); 602private static Pen CommonDisabledBorderOverlay 612Pen temp = new Pen(); 643private Pen BorderOverlayPen 679private static Pen _commonBorderPen; 681private static Pen _commonDisabledBorderOverlay; 682private static Pen _commonHoverBorderOverlay; 683private static Pen _commonFocusedBorderOverlay; 693public Pen BorderOverlayPen;
Microsoft\Windows\Themes\ScrollChrome.cs (23)
467Pen pen = Shadow; 486Pen pen = OuterBorder; 1076private static Pen CommonThumbOuterBorder 1086Pen temp = new Pen(); 1100private static Pen CommonThumbHoverOuterBorder 1110Pen temp = new Pen(); 1124private static Pen CommonThumbPressedOuterBorder 1134Pen temp = new Pen(); 1148private Pen OuterBorder 1203private static Pen CommonThumbInnerBorder 1213Pen temp = new Pen(); 1228private Pen InnerBorder 1274private static Pen CommonThumbShadow 1284Pen temp = new Pen(); 1299private Pen Shadow 1789private static Pen _commonThumbOuterBorder; 1790private static Pen _commonThumbInnerBorder; 1791private static Pen _commonThumbShadow; 1798private static Pen _commonThumbHoverOuterBorder; 1804private static Pen _commonThumbPressedOuterBorder; 1824public Pen OuterBorder; 1825public Pen InnerBorder; 1826public Pen Shadow;
PresentationFramework.Luna (121)
Microsoft\Windows\Themes\ButtonChrome.cs (39)
391Pen pen; 484Pen pen = InnerHighlight; 503Pen borderPen = BorderPen; 558private static Pen CommonDisabledBorderPenNC 570Pen temp = new Pen(brush, 1); 582private static Pen CommonDisabledBorderPenHS 594Pen temp = new Pen(brush, 1); 607private static Pen CommonDisabledBorderPenM 619Pen temp = new Pen(brush, 1); 631private Pen BorderPen 645Pen pen = null; 672Pen commonPen = new Pen(brush, 1); 708private static Pen CommonOuterHighlight 726Pen temp = new Pen(brush, 1.3333333333); 738private Pen OuterHighlight 748private static Pen CommonDefaultedInnerHighlightNC 767Pen temp = new Pen(brush, 2.6666666667); 779private static Pen CommonDefaultedInnerHighlightHS 798Pen temp = new Pen(brush, 2.6666666667); 810private static Pen CommonDefaultedInnerHighlightM 829Pen temp = new Pen(brush, 2.6666666667); 841private static Pen CommonHoverInnerHighlightNC 860Pen temp = new Pen(brush, 2.6666666667); 872private static Pen CommonHoverInnerHighlightHS 891Pen temp = new Pen(brush, 2.6666666667); 904private static Pen CommonHoverInnerHighlightM 923Pen temp = new Pen(brush, 2.6666666667); 937private Pen InnerHighlight 1465private static Pen _commonBorderPen; 1467private static Pen _commonDisabledBorderPenNC; 1468private static Pen _commonDisabledBorderPenHS; 1469private static Pen _commonDisabledBorderPenM; 1472private static Pen _commonOuterHighlight; 1482private static Pen _commonDefaultedInnerHighlightNC; 1483private static Pen _commonDefaultedInnerHighlightHS; 1484private static Pen _commonDefaultedInnerHighlightM; 1486private static Pen _commonHoverInnerHighlightNC; 1487private static Pen _commonHoverInnerHighlightHS; 1488private static Pen _commonHoverInnerHighlightM;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
203Pen tabStroke = (Pen)GetCachedFreezable((int)LunaFreezables.TabStroke);
Microsoft\Windows\Themes\ScrollChrome.cs (62)
306Pen pen = Shadow; 326Pen pen = OuterBorder; 1883private static Pen CommonOuterBorderPenNC 1893Pen temp = new Pen(); 1905private static Pen CommonOuterBorderPenHS 1915Pen temp = new Pen(); 1927private static Pen CommonOuterBorderPenM 1937Pen temp = new Pen(); 1949private static Pen CommonHoverOuterBorderPenM 1959Pen temp = new Pen(); 1971private static Pen CommonPressedOuterBorderPenM 1981Pen temp = new Pen(); 1994private Pen OuterBorder 2028private static Pen CommonDisabledInnerBorderPen 2038Pen temp = new Pen(); 2050private static Pen CommonInnerBorderPenNC 2060Pen temp = new Pen(); 2074private static Pen CommonHoverInnerBorderPenNC 2084Pen temp = new Pen(); 2096private static Pen CommonHoverThumbInnerBorderPenNC 2106Pen temp = new Pen(); 2118private static Pen CommonPressedInnerBorderPenNC 2128Pen temp = new Pen(); 2140private static Pen CommonInnerBorderPenHS 2150Pen temp = new Pen(); 2162private static Pen CommonHoverInnerBorderPenHS 2172Pen temp = new Pen(); 2185private static Pen CommonPressedInnerBorderPenHS 2195Pen temp = new Pen(); 2207private static Pen CommonInnerBorderPenM 2217Pen temp = new Pen(); 2229private static Pen CommonHoverInnerBorderPenM 2239Pen temp = new Pen(); 2252private static Pen CommonPressedInnerBorderPenM 2262Pen temp = new Pen(); 2276private Pen InnerBorder 2322private static Pen CommonDisabledShadowPen 2332Pen temp = new Pen(); 2354private static Pen CommonShadowPenNC 2364Pen temp = new Pen(); 2386private static Pen CommonShadowPenHS 2396Pen temp = new Pen(); 2418private Pen Shadow 2508private static Pen _commonOuterBorderPenNC; 2510private static Pen _commonOuterBorderPenHS; 2512private static Pen _commonOuterBorderPenM; 2513private static Pen _commonHoverOuterBorderPenM; 2514private static Pen _commonPressedOuterBorderPenM; 2517private static Pen _commonDisabledInnerBorderPen; 2519private static Pen _commonInnerBorderPenNC; 2520private static Pen _commonInnerBorderPenHS; 2521private static Pen _commonInnerBorderPenM; 2523private static Pen _commonHoverInnerBorderPenNC; 2524private static Pen _commonHoverThumbInnerBorderPenNC; 2526private static Pen _commonHoverInnerBorderPenHS; 2527private static Pen _commonHoverInnerBorderPenM; 2529private static Pen _commonPressedInnerBorderPenNC; 2530private static Pen _commonPressedInnerBorderPenHS; 2531private static Pen _commonPressedInnerBorderPenM; 2533private static Pen _commonDisabledShadowPen; 2535private static Pen _commonShadowPenNC; 2536private static Pen _commonShadowPenHS;
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (18)
264Pen highlightPen = HighlightPen; 342Pen borderPen = BorderPen; 366Pen borderPen = BorderPen; 379private static Pen GetBorderPen(Brush border) 381Pen pen = null; 408Pen commonPen = new Pen(border, 1); 674private static Pen CommonDisabledBorderPen 684Pen temp = new Pen(); 696private static Pen CommonCheckBoxHoverHighlightPen 706Pen temp = new Pen(); 727private static Pen CommonRadioButtonHoverHighlightPen 737Pen temp = new Pen(); 943private Pen BorderPen 957private Pen HighlightPen 991private static Pen _commonBorderPen; 995private static Pen _commonDisabledBorderPen; 997private static Pen _commonCheckBoxHoverHighlightPen; 998private static Pen _commonRadioButtonHoverHighlightPen;
PresentationFramework.Royale (55)
Microsoft\Windows\Themes\ButtonChrome.cs (20)
405Pen pen = InnerHighlight; 424Pen borderPen = BorderPen; 473private static Pen CommonDisabledBorderPen 485Pen temp = new Pen(brush, 1); 497private Pen BorderPen 504Pen pen = null; 531Pen commonPen = new Pen(brush, 1); 567private static Pen CommonOuterHighlight 585Pen temp = new Pen(brush, 1.3333333333); 597private Pen OuterHighlight 607private static Pen CommonDefaultedInnerHighlight 626Pen temp = new Pen(brush, 2.6666666667); 639private static Pen CommonHoverInnerHighlight 658Pen temp = new Pen(brush, 2.6666666667); 671private Pen InnerHighlight 949private static Pen _commonBorderPen; 950private static Pen _commonDisabledBorderPen; 952private static Pen _commonOuterHighlight; 960private static Pen _commonDefaultedInnerHighlight; 962private static Pen _commonHoverInnerHighlight;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
132Pen tabStroke = (Pen)GetCachedFreezable((int)RoyaleFreezables.TabStroke);
Microsoft\Windows\Themes\ScrollChrome.cs (15)
286Pen pen = OuterBorder; 999private static Pen CommonDisabledOuterBorderPen 1009Pen temp = new Pen(); 1029private static Pen CommonOuterBorderPen 1039Pen temp = new Pen(); 1051private static Pen CommonHoverOuterBorderPen 1061Pen temp = new Pen(); 1074private Pen OuterBorder 1089private static Pen CommonInnerBorderPen 1099Pen temp = new Pen(); 1111private Pen InnerBorder 1149private static Pen _commonDisabledOuterBorderPen; 1150private static Pen _commonOuterBorderPen; 1152private static Pen _commonHoverOuterBorderPen; 1154private static Pen _commonInnerBorderPen;
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (18)
264Pen highlightPen = HighlightPen; 342Pen borderPen = BorderPen; 366Pen borderPen = BorderPen; 379private static Pen GetBorderPen(Brush border) 381Pen pen = null; 408Pen commonPen = new Pen(border, 1); 674private static Pen CommonDisabledBorderPen 684Pen temp = new Pen(); 696private static Pen CommonCheckBoxHoverHighlightPen 706Pen temp = new Pen(); 727private static Pen CommonRadioButtonHoverHighlightPen 737Pen temp = new Pen(); 943private Pen BorderPen 957private Pen HighlightPen 991private static Pen _commonBorderPen; 995private static Pen _commonDisabledBorderPen; 997private static Pen _commonCheckBoxHoverHighlightPen; 998private static Pen _commonRadioButtonHoverHighlightPen;
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartExpressionAdorner.cs (1)
62Pen renderPen = new Pen();
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\RenderUtils.cs (1)
17public static bool DrawInscribedRoundedRect(DrawingContext drawingContext, Brush fill, Pen stroke, Rect outerBounds, double cornerRadius)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
279Pen strokePen = null;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyPanel.cs (1)
279Pen outlinePen = new Pen(outlineBrush, outlineThickness);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectAdorner.cs (3)
35private Pen hitTestPen = new Pen(Brushes.Transparent, 0); 37private Pen renderPen = new Pen(Brushes.LightBlue, 1.0); 39private Pen highlightPen = new Pen(Brushes.SteelBlue, 1);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitAdorner.cs (1)
17private Pen pen = new Pen(Brushes.SteelBlue, 1);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointsAdorner.cs (1)
20Pen renderPen;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorCreationAdorner.cs (1)
30Pen renderPen = new Pen(renderBrush, FreeFormPanel.ConnectorEditorThickness);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (1)
603Pen renderPen = new Pen(new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementSelectedBorderColor), FreeFormPanel.ConnectorEditorThickness);
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (1)
62Pen renderPen = new Pen();