83 references to 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) };
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); 63Pen 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)
454Pen pen1 = new Pen(Brushes.Gray, 0.7);
MS\Internal\PtsHost\SectionVisual.cs (1)
106Pen pen = new Pen(columnRuleBrush, ruleWidth);
MS\Internal\Text\TextSpanModifier.cs (1)
156pen = new Pen(brush, 1);
System\Windows\Controls\Grid.cs (2)
3966s_oddDashPen = new Pen(Brushes.Blue, c_penWidth); 3974s_evenDashPen = new Pen(Brushes.Yellow, c_penWidth);
System\Windows\Controls\Primitives\TickBar.cs (1)
430Pen 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)
182Pen pen = new Pen(new SolidColorBrush(Colors.Black), lineHeight);
System\Windows\Documents\FixedPage.cs (3)
1249Pen pen = new Pen(Brushes.Green, 1); 1258Pen backgroundPen = new Pen(Brushes.Black,1); 1277Pen backgroundPen = new Pen(Brushes.Black,1);
System\Windows\Documents\FixedPageStructure.cs (7)
222Pen pen = new Pen(Brushes.Blue, 1); 323Pen pen = new Pen(Brushes.DarkMagenta, 1.5); 357Pen pen = new Pen(Brushes.DarkMagenta, 1.5); 390Pen pen = new Pen(Brushes.Red, 0.5); 562Pen pen = new Pen(Brushes.Blue, 2); 647Pen pen = new Pen(Brushes.Red, 1); 662Pen backgroundPen = new Pen(Brushes.Black,1);
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
147Pen pen = new Pen(Brushes.Blue, 2);
System\Windows\Documents\FixedSOMGroup.cs (1)
152Pen pen = new Pen(Brushes.Maroon, 3);
System\Windows\Documents\FixedSOMImage.cs (1)
91Pen pen = new Pen(Brushes.Yellow, 1);
System\Windows\Documents\FixedSOMSemanticBox.cs (1)
79Pen backgroundPen = new Pen(Brushes.Black,1);
System\Windows\Documents\FixedSOMTable.cs (1)
39Pen pen = new Pen(Brushes.Green, 5);
System\Windows\Documents\FixedSOMTableCell.cs (1)
42Pen pen = new Pen(Brushes.Red, 2);
System\Windows\Documents\FixedSOMTextRun.cs (1)
186Pen pen = new Pen(Brushes.Blue, 1);
System\Windows\Documents\SpellerHighlightLayer.cs (2)
150Pen pen = new Pen(Brushes.Red, 0.33); 172new Pen(brush, 3),
PresentationFramework.Aero (6)
Microsoft\Windows\Themes\BulletChrome.cs (2)
812Pen commonPen = new Pen(border, 1); 837pen = new Pen(border, 1);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
567Pen commonPen = new Pen(border, 1); 592pen = new Pen(border, 1);
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
439Pen commonPen = new Pen(border, 1); 464pen = new Pen(border, 1);
PresentationFramework.Aero2 (6)
Microsoft\Windows\Themes\BulletChrome.cs (2)
812Pen commonPen = new Pen(border, 1); 837pen = new Pen(border, 1);
Microsoft\Windows\Themes\ButtonChrome.cs (2)
567Pen commonPen = new Pen(border, 1); 592pen = new Pen(border, 1);
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
439Pen commonPen = new Pen(border, 1); 464pen = new Pen(border, 1);
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 (15)
Microsoft\Windows\Themes\ButtonChrome.cs (12)
560Pen temp = new Pen(brush, 1); 584Pen temp = new Pen(brush, 1); 609Pen temp = new Pen(brush, 1); 662Pen commonPen = new Pen(brush, 1); 687pen = new Pen(brush, 1); 718Pen temp = new Pen(brush, 1.3333333333); 761Pen temp = new Pen(brush, 2.6666666667); 794Pen temp = new Pen(brush, 2.6666666667); 827Pen temp = new Pen(brush, 2.6666666667); 860Pen temp = new Pen(brush, 2.6666666667); 893Pen temp = new Pen(brush, 2.6666666667); 927Pen temp = new Pen(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
207tabStroke = new Pen(tabStrokeBrush, 1.0);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
399Pen commonPen = new Pen(border, 1); 424pen = new Pen(border, 1);
PresentationFramework.Royale (9)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
475Pen temp = new Pen(brush, 1); 521Pen commonPen = new Pen(brush, 1); 546pen = new Pen(brush, 1); 577Pen temp = new Pen(brush, 1.3333333333); 620Pen temp = new Pen(brush, 2.6666666667); 654Pen temp = new Pen(brush, 2.6666666667);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
136tabStroke = new Pen(tabStrokeBrush, 1.0);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (2)
399Pen commonPen = new Pen(border, 1); 424pen = new Pen(border, 1);
ReachFramework (2)
AlphaFlattener\Flattener.cs (2)
1025Pen black = new Pen(Brushes.Black, 0.8) 1050Pen 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)
246_separatorPen = new Pen(b, 1.0);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
340_separatorPen = new Pen(b, 1.0);