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);
85
_hatchPen = new
Pen
(tileBrush, HatchBorderMargin);
MS\Internal\Ink\LassoHelper.cs (1)
306
_pen = new
Pen
(new SolidColorBrush(DotCircumferenceColor), DotCircumferenceThickness);
MS\Internal\Ink\PenCursorManager.cs (1)
450
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)
3967
s_oddDashPen = new
Pen
(Brushes.Blue, c_penWidth);
3975
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)
1247
Pen pen = new
Pen
(Brushes.Green, 1);
1256
Pen backgroundPen = new
Pen
(Brushes.Black,1);
1275
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)
184
Pen pen = new
Pen
(Brushes.Blue, 1);
System\Windows\Documents\SpellerHighlightLayer.cs (2)
150
Pen pen = new
Pen
(Brushes.Red, 0.33);
170
new
Pen
(brush, 3),
PresentationFramework.Aero (6)
Microsoft\Windows\Themes\BulletChrome.cs (2)
798
Pen commonPen = new
Pen
(border, 1);
823
pen = new
Pen
(border, 1);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
556
Pen commonPen = new
Pen
(border, 1);
581
pen = new
Pen
(border, 1);
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
437
Pen commonPen = new
Pen
(border, 1);
462
pen = new
Pen
(border, 1);
PresentationFramework.Aero2 (6)
Microsoft\Windows\Themes\BulletChrome.cs (2)
798
Pen commonPen = new
Pen
(border, 1);
823
pen = new
Pen
(border, 1);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
556
Pen commonPen = new
Pen
(border, 1);
581
pen = new
Pen
(border, 1);
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
437
Pen commonPen = new
Pen
(border, 1);
462
pen = new
Pen
(border, 1);
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (2)
1328
dc.DrawGeometry(DarkDarkBrush, new
Pen
(DarkBrush, 1.0), TopLeftArcGeometry);
1329
dc.DrawGeometry(LightBrush, new
Pen
(LightLightBrush, 1.0), BottomRightArcGeometry);
PresentationFramework.Luna (15)
Microsoft\Windows\Themes\ButtonChrome.cs (12)
559
Pen temp = new
Pen
(brush, 1);
583
Pen temp = new
Pen
(brush, 1);
608
Pen temp = new
Pen
(brush, 1);
661
Pen commonPen = new
Pen
(brush, 1);
686
pen = new
Pen
(brush, 1);
715
Pen temp = new
Pen
(brush, 1.3333333333);
756
Pen temp = new
Pen
(brush, 2.6666666667);
787
Pen temp = new
Pen
(brush, 2.6666666667);
818
Pen temp = new
Pen
(brush, 2.6666666667);
849
Pen temp = new
Pen
(brush, 2.6666666667);
880
Pen temp = new
Pen
(brush, 2.6666666667);
912
Pen temp = new
Pen
(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
204
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)
474
Pen temp = new
Pen
(brush, 1);
520
Pen commonPen = new
Pen
(brush, 1);
545
pen = new
Pen
(brush, 1);
574
Pen temp = new
Pen
(brush, 1.3333333333);
615
Pen temp = new
Pen
(brush, 2.6666666667);
647
Pen temp = new
Pen
(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
133
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)
1020
Pen black = new
Pen
(Brushes.Black, 0.8);
1043
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);