83 references to 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) };
PresentationFramework (33)
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
37
_adornerBorderPen = new
Pen
(Brushes.Black, 1.0);
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
33
_adornerBorderPen = new
Pen
(Brushes.Black, 1.0);
41
_adornerPenBrush = new
Pen
(new SolidColorBrush(Color.FromRgb(132, 146, 222)), 1);
63
Pen squareCapPen = new
Pen
(Brushes.Black, LineThickness)
89
_hatchPen = new
Pen
(tileBrush, HatchBorderMargin);
MS\Internal\Ink\LassoHelper.cs (1)
305
_pen = new
Pen
(new SolidColorBrush(DotCircumferenceColor), DotCircumferenceThickness)
MS\Internal\Ink\PenCursorManager.cs (1)
454
Pen pen1 = new
Pen
(Brushes.Gray, 0.7);
MS\Internal\PtsHost\SectionVisual.cs (1)
106
Pen pen = new
Pen
(columnRuleBrush, ruleWidth);
MS\Internal\Text\TextSpanModifier.cs (1)
156
pen = new
Pen
(brush, 1);
System\Windows\Controls\Grid.cs (2)
3966
s_oddDashPen = new
Pen
(Brushes.Blue, c_penWidth);
3974
s_evenDashPen = new
Pen
(Brushes.Yellow, c_penWidth);
System\Windows\Controls\Primitives\TickBar.cs (1)
430
Pen pen = new
Pen
(Fill, 1.0d);
System\Windows\Documents\ColumnResizeAdorner.cs (1)
36
_pen = new
Pen
(new SolidColorBrush(Colors.LightSlateGray), 2.0);
System\Windows\Documents\CompositionAdorner.cs (1)
182
Pen pen = new
Pen
(new SolidColorBrush(Colors.Black), lineHeight);
System\Windows\Documents\FixedPage.cs (3)
1249
Pen pen = new
Pen
(Brushes.Green, 1);
1258
Pen backgroundPen = new
Pen
(Brushes.Black,1);
1277
Pen backgroundPen = new
Pen
(Brushes.Black,1);
System\Windows\Documents\FixedPageStructure.cs (7)
222
Pen pen = new
Pen
(Brushes.Blue, 1);
323
Pen pen = new
Pen
(Brushes.DarkMagenta, 1.5);
357
Pen pen = new
Pen
(Brushes.DarkMagenta, 1.5);
390
Pen pen = new
Pen
(Brushes.Red, 0.5);
562
Pen pen = new
Pen
(Brushes.Blue, 2);
647
Pen pen = new
Pen
(Brushes.Red, 1);
662
Pen backgroundPen = new
Pen
(Brushes.Black,1);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
147
Pen pen = new
Pen
(Brushes.Blue, 2);
System\Windows\Documents\FixedSOMGroup.cs (1)
152
Pen pen = new
Pen
(Brushes.Maroon, 3);
System\Windows\Documents\FixedSOMImage.cs (1)
91
Pen pen = new
Pen
(Brushes.Yellow, 1);
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
79
Pen backgroundPen = new
Pen
(Brushes.Black,1);
System\Windows\Documents\FixedSOMTable.cs (1)
39
Pen pen = new
Pen
(Brushes.Green, 5);
System\Windows\Documents\FixedSOMTableCell.cs (1)
42
Pen pen = new
Pen
(Brushes.Red, 2);
System\Windows\Documents\FixedSOMTextRun.cs (1)
186
Pen pen = new
Pen
(Brushes.Blue, 1);
System\Windows\Documents\SpellerHighlightLayer.cs (2)
150
Pen pen = new
Pen
(Brushes.Red, 0.33);
172
new
Pen
(brush, 3),
PresentationFramework.Aero (6)
Microsoft\Windows\Themes\BulletChrome.cs (2)
812
Pen commonPen = new
Pen
(border, 1);
837
pen = new
Pen
(border, 1);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
567
Pen commonPen = new
Pen
(border, 1);
592
pen = new
Pen
(border, 1);
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
439
Pen commonPen = new
Pen
(border, 1);
464
pen = new
Pen
(border, 1);
PresentationFramework.Aero2 (6)
Microsoft\Windows\Themes\BulletChrome.cs (2)
812
Pen commonPen = new
Pen
(border, 1);
837
pen = new
Pen
(border, 1);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
567
Pen commonPen = new
Pen
(border, 1);
592
pen = new
Pen
(border, 1);
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
439
Pen commonPen = new
Pen
(border, 1);
464
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)
560
Pen temp = new
Pen
(brush, 1);
584
Pen temp = new
Pen
(brush, 1);
609
Pen temp = new
Pen
(brush, 1);
662
Pen commonPen = new
Pen
(brush, 1);
687
pen = new
Pen
(brush, 1);
718
Pen temp = new
Pen
(brush, 1.3333333333);
761
Pen temp = new
Pen
(brush, 2.6666666667);
794
Pen temp = new
Pen
(brush, 2.6666666667);
827
Pen temp = new
Pen
(brush, 2.6666666667);
860
Pen temp = new
Pen
(brush, 2.6666666667);
893
Pen temp = new
Pen
(brush, 2.6666666667);
927
Pen temp = new
Pen
(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
207
tabStroke = new
Pen
(tabStrokeBrush, 1.0);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
399
Pen commonPen = new
Pen
(border, 1);
424
pen = new
Pen
(border, 1);
PresentationFramework.Royale (9)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
475
Pen temp = new
Pen
(brush, 1);
521
Pen commonPen = new
Pen
(brush, 1);
546
pen = new
Pen
(brush, 1);
577
Pen temp = new
Pen
(brush, 1.3333333333);
620
Pen temp = new
Pen
(brush, 2.6666666667);
654
Pen temp = new
Pen
(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
136
tabStroke = new
Pen
(tabStrokeBrush, 1.0);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
399
Pen commonPen = new
Pen
(border, 1);
424
pen = new
Pen
(border, 1);
ReachFramework (2)
AlphaFlattener\Flattener.cs (2)
1025
Pen black = new
Pen
(Brushes.Black, 0.8)
1050
Pen pen = new
Pen
(Brushes.Blue, 0.8)
Roslyn.VisualStudio.DiagnosticsWindow (1)
VenusMargin\ProjectionSpanTagDefinition.cs (1)
24
this.Border = new
Pen
(Brushes.DarkBlue, thickness: 1.5);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
246
_separatorPen = new
Pen
(b, 1.0);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
340
_separatorPen = new
Pen
(b, 1.0);