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