93 references to Brushes
Microsoft.CodeAnalysis.EditorFeatures.Wpf (10)
ConflictTagDefinition.cs (1)
27this.Border = new Pen(Brushes.Red, thickness: 1.5);
EditAndContinue\EditAndContinueErrorTypeFormatDefinition.cs (1)
26this.ForegroundBrush = Brushes.Purple;
InlineDiagnostics\InlineDiagnosticsFormatDefinition.cs (1)
77BackgroundBrush = Brushes.Purple;
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
96Background = Brushes.Transparent,
InlineRename\HighlightTags\RenameConflictTagDefinition.cs (1)
28this.Border = new Pen(Brushes.Red, thickness: StrokeThickness) { DashStyle = new DashStyle(StrokeDashArray, 0) };
InlineRename\HighlightTags\RenameFixupTagDefinition.cs (1)
28this.Border = new Pen(Brushes.Green, thickness: StrokeThickness) { DashStyle = new DashStyle(StrokeDashArray, 0) };
QuickInfo\ProjectionBufferContent.cs (1)
85view.Background = Brushes.Transparent;
RenameTracking\RenameTrackingTagDefinition.cs (1)
27this.Border = new Pen(Brushes.Black, thickness: 1.0) { DashStyle = new DashStyle(new[] { 0.5, 4.0 }, 1) };
Structure\StructureTaggerProvider.cs (1)
53view.Background = Brushes.Transparent;
ViewHostingControl.cs (1)
32Background = Brushes.Transparent;
Microsoft.VisualStudio.LanguageServices (4)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (4)
57Background = Brushes.Transparent; 58BorderBrush = Brushes.Transparent; 199this.Background = Brushes.Transparent; 200this.BorderBrush = Brushes.Transparent;
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
193Background = Brushes.Transparent,
PresentationCore (3)
System\Windows\Ink\Stroke2.cs (1)
399drawingContext.DrawGeometry(Brushes.White, null, GetGeometry(selectedDA));
System\Windows\Media\HitTestDrawingContextWalker.cs (1)
194DrawGeometry(Brushes.Black, null /* pen */, new RectangleGeometry(rectangle));
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
171DrawGeometry(Brushes.Black, null /* pen */, new RectangleGeometry(rectangle));
PresentationFramework (59)
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); 59Brushes.Transparent, 63Pen squareCapPen = new Pen(Brushes.Black, LineThickness) 334drawingContext.DrawGeometry(Brushes.Transparent, null, backgroundGeometry);
MS\Internal\Documents\DocumentGrid.cs (1)
1678Background = Brushes.Transparent
MS\Internal\Ink\PenCursorManager.cs (1)
454Pen pen1 = new Pen(Brushes.Gray, 0.7);
MS\Internal\PtsHost\PageVisual.cs (1)
53dc.DrawRectangle(Brushes.Transparent, null, _renderBounds);
System\Windows\Controls\BorderGapMaskConverter.cs (3)
105rectColumn1.Fill = Brushes.Black; 106rectColumn2.Fill = Brushes.Black; 107rectColumn3.Fill = Brushes.Black;
System\Windows\Controls\DataGrid.cs (2)
715new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 734new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged)));
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\PasswordBox.cs (1)
1154this.ScrollViewer.Background = Brushes.Transparent;
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1630this.ScrollViewer.Background = Brushes.Transparent;
System\Windows\Controls\Validation.cs (1)
602border.SetValue(Border.BorderBrushProperty, Brushes.Red);
System\Windows\Documents\FixedPage.cs (6)
434new FrameworkPropertyMetadata((Brush)Brushes.White, FrameworkPropertyMetadataOptions.AffectsRender)); 1249Pen pen = new Pen(Brushes.Green, 1); 1258Pen backgroundPen = new Pen(Brushes.Black,1); 1273Brushes.White, 1277Pen backgroundPen = new Pen(Brushes.Black,1); 1278dc.DrawGeometry(Brushes.Black, backgroundPen, geom);
System\Windows\Documents\FixedPageStructure.cs (21)
222Pen pen = new Pen(Brushes.Blue, 1); 271Brushes.DarkViolet, 285Brushes.DarkViolet, 302Brushes.DarkViolet, 323Pen pen = new Pen(Brushes.DarkMagenta, 1.5); 339Brushes.DarkViolet, 357Pen pen = new Pen(Brushes.DarkMagenta, 1.5); 373Brushes.DarkViolet, 390Pen pen = new Pen(Brushes.Red, 0.5); 419Brushes.DarkViolet, 435Brushes.DarkViolet, 483Brushes.DarkGreen, 499Brushes.DarkGreen, 558Brushes.DarkBlue, 562Pen pen = new Pen(Brushes.Blue, 2); 605dc.DrawRectangle(Brushes.CadetBlue, null, imageRect); 627Brushes.DarkGreen, 647Pen pen = new Pen(Brushes.Red, 1); 658Brushes.White, 662Pen backgroundPen = new Pen(Brushes.Black,1); 663dc.DrawGeometry(Brushes.Black, backgroundPen, geom);
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 (3)
74Brushes.White, 79Pen backgroundPen = new Pen(Brushes.Black,1); 80dc.DrawGeometry(Brushes.Black, backgroundPen, geom);
System\Windows\Documents\FixedSOMTable.cs (2)
39Pen pen = new Pen(Brushes.Green, 5); 48Brushes.Blue,
System\Windows\Documents\FixedSOMTableCell.cs (2)
42Pen pen = new Pen(Brushes.Red, 2); 71element.SetValue(Block.BorderBrushProperty, Brushes.Black);
System\Windows\Documents\FixedSOMTextRun.cs (1)
186Pen pen = new Pen(Brushes.Blue, 1);
System\Windows\Documents\SpellerHighlightLayer.cs (1)
150Pen pen = new Pen(Brushes.Red, 0.33);
System\Windows\Documents\TextElement.cs (1)
684Brushes.Black,
System\Windows\Documents\TextRangeEditTables.cs (1)
673BorderBrush = System.Windows.Media.Brushes.Black
PresentationFramework.Fluent (1)
Controls\FallbackBrushConverter.cs (1)
23return Brushes.Red;
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
1470return Brushes.White;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
630return Brushes.White;
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
910return Brushes.White;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
630return Brushes.White;
ReachFramework (9)
AlphaFlattener\BrushProxy.cs (5)
1485context.DrawGeometry(Brushes.Black, null, geometry); 2603static private BrushProxy _blackBrush = new BrushProxy(Brushes.Black); 2604static private BrushProxy _whiteBrush = new BrushProxy(Brushes.White); 3045Brushes.Transparent, 3142Brushes.Transparent,
AlphaFlattener\Flattener.cs (2)
1025Pen black = new Pen(Brushes.Black, 0.8) 1050Pen pen = new Pen(Brushes.Blue, 0.8)
Serialization\VisualSerializer.cs (2)
1866brush = Brushes.Transparent; 2039foreground = Brushes.Transparent;
Roslyn.VisualStudio.DiagnosticsWindow (1)
VenusMargin\ProjectionSpanTagDefinition.cs (1)
24this.Border = new Pen(Brushes.DarkBlue, thickness: 1.5);
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
159if (brush == Brushes.Transparent)