59 references to Pen
PresentationFramework (16)
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);
78
Pen squareCapPen = new
Pen
(Brushes.Black, LineThickness);
100
_hatchPen = new
Pen
(tileBrush, HatchBorderMargin);
src\Framework\MS\Internal\Ink\LassoHelper.cs (1)
315
_pen = new
Pen
(new SolidColorBrush(DotCircumferenceColor), DotCircumferenceThickness);
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
480
Pen pen1 = new
Pen
(Brushes.Gray, 0.7);
src\Framework\MS\Internal\PtsHost\SectionVisual.cs (1)
111
Pen pen = new
Pen
(columnRuleBrush, ruleWidth);
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
166
pen = new
Pen
(brush, 1);
src\Framework\System\Windows\Controls\Grid.cs (2)
4200
s_oddDashPen = new
Pen
(Brushes.Blue, c_penWidth);
4208
s_evenDashPen = new
Pen
(Brushes.Yellow, c_penWidth);
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (1)
445
Pen 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)
187
Pen pen = new
Pen
(new SolidColorBrush(Colors.Black), lineHeight);
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (2)
153
Pen pen = new
Pen
(Brushes.Red, 0.33);
173
new
Pen
(brush, 3),
PresentationFramework.Aero (6)
Microsoft\Windows\Themes\BulletChrome.cs (2)
810
Pen commonPen = new
Pen
(border, 1);
835
pen = new
Pen
(border, 1);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
571
Pen commonPen = new
Pen
(border, 1);
596
pen = new
Pen
(border, 1);
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
449
Pen commonPen = new
Pen
(border, 1);
474
pen = new
Pen
(border, 1);
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (2)
1336
dc.DrawGeometry(DarkDarkBrush, new
Pen
(DarkBrush, 1.0), TopLeftArcGeometry);
1337
dc.DrawGeometry(LightBrush, new
Pen
(LightLightBrush, 1.0), BottomRightArcGeometry);
PresentationFramework.Luna (15)
Microsoft\Windows\Themes\ButtonChrome.cs (12)
570
Pen temp = new
Pen
(brush, 1);
594
Pen temp = new
Pen
(brush, 1);
619
Pen temp = new
Pen
(brush, 1);
672
Pen commonPen = new
Pen
(brush, 1);
697
pen = new
Pen
(brush, 1);
726
Pen temp = new
Pen
(brush, 1.3333333333);
767
Pen temp = new
Pen
(brush, 2.6666666667);
798
Pen temp = new
Pen
(brush, 2.6666666667);
829
Pen temp = new
Pen
(brush, 2.6666666667);
860
Pen temp = new
Pen
(brush, 2.6666666667);
891
Pen temp = new
Pen
(brush, 2.6666666667);
923
Pen temp = new
Pen
(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
209
tabStroke = new
Pen
(tabStrokeBrush, 1.0);
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
408
Pen commonPen = new
Pen
(border, 1);
433
pen = new
Pen
(border, 1);
PresentationFramework.Royale (9)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
485
Pen temp = new
Pen
(brush, 1);
531
Pen commonPen = new
Pen
(brush, 1);
556
pen = new
Pen
(brush, 1);
585
Pen temp = new
Pen
(brush, 1.3333333333);
626
Pen temp = new
Pen
(brush, 2.6666666667);
658
Pen temp = new
Pen
(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
138
tabStroke = new
Pen
(tabStrokeBrush, 1.0);
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
408
Pen commonPen = new
Pen
(border, 1);
433
pen = new
Pen
(border, 1);
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
284
strokePen = new
Pen
(borderBrush, borderWidth);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyPanel.cs (1)
279
Pen outlinePen = new
Pen
(outlineBrush, outlineThickness);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectAdorner.cs (3)
35
private Pen hitTestPen = new
Pen
(Brushes.Transparent, 0);
37
private Pen renderPen = new
Pen
(Brushes.LightBlue, 1.0);
39
private Pen highlightPen = new
Pen
(Brushes.SteelBlue, 1);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitAdorner.cs (1)
17
private Pen pen = new
Pen
(Brushes.SteelBlue, 1);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointsAdorner.cs (3)
36
this.renderPen = new
Pen
(new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementSelectedBorderColor), 1.0);
41
this.renderPen = new
Pen
(new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementBorderColor), 1.0);
63
drawingContext.DrawRectangle(Brushes.Transparent, new
Pen
(Brushes.Transparent, 0),
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorCreationAdorner.cs (1)
30
Pen renderPen = new
Pen
(renderBrush, FreeFormPanel.ConnectorEditorThickness);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorEditor.cs (1)
603
Pen renderPen = new
Pen
(new SolidColorBrush(WorkflowDesignerColors.WorkflowViewElementSelectedBorderColor), FreeFormPanel.ConnectorEditorThickness);