39 references to Brushes
PresentationCore (3)
System\Windows\Ink\Stroke2.cs (1)
392drawingContext.DrawGeometry(Brushes.White, null, GetGeometry(selectedDA));
System\Windows\Media\HitTestDrawingContextWalker.cs (1)
193DrawGeometry(Brushes.Black, pen: null, new RectangleGeometry(rectangle));
System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
170DrawGeometry(Brushes.Black, pen: null, new RectangleGeometry(rectangle));
PresentationFramework (23)
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
36_adornerBorderPen = new Pen(Brushes.Black, 1.0);
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
32_adornerBorderPen = new Pen(Brushes.Black, 1.0); 58Brushes.Transparent, 62Pen squareCapPen = new Pen(Brushes.Black, LineThickness) 330drawingContext.DrawGeometry(Brushes.Transparent, null, backgroundGeometry);
MS\Internal\Documents\DocumentGrid.cs (1)
1665Background = Brushes.Transparent
MS\Internal\Ink\PenCursorManager.cs (1)
447Pen pen1 = new Pen(Brushes.Gray, 0.7);
MS\Internal\PtsHost\PageVisual.cs (1)
52dc.DrawRectangle(Brushes.Transparent, null, _renderBounds);
System\Windows\Controls\BorderGapMaskConverter.cs (3)
104rectColumn1.Fill = Brushes.Black; 105rectColumn2.Fill = Brushes.Black; 106rectColumn3.Fill = Brushes.Black;
System\Windows\Controls\DataGrid.cs (2)
711new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 730new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged)));
System\Windows\Controls\Grid.cs (2)
4013s_oddDashPen = new Pen(Brushes.Blue, c_penWidth); 4021s_evenDashPen = new Pen(Brushes.Yellow, c_penWidth);
System\Windows\Controls\PasswordBox.cs (1)
1142this.ScrollViewer.Background = Brushes.Transparent;
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1566this.ScrollViewer.Background = Brushes.Transparent;
System\Windows\Controls\Validation.cs (1)
595border.SetValue(Border.BorderBrushProperty, Brushes.Red);
System\Windows\Documents\FixedPage.cs (1)
433new FrameworkPropertyMetadata((Brush)Brushes.White, FrameworkPropertyMetadataOptions.AffectsRender));
System\Windows\Documents\FixedSOMTableCell.cs (1)
70element.SetValue(Block.BorderBrushProperty, Brushes.Black);
System\Windows\Documents\SpellerHighlightLayer.cs (1)
149Pen pen = new Pen(Brushes.Red, 0.33);
System\Windows\Documents\TextElement.cs (1)
683Brushes.Black,
System\Windows\Documents\TextRangeEditTables.cs (1)
672BorderBrush = System.Windows.Media.Brushes.Black
PresentationFramework.Fluent (1)
Controls\FallbackBrushConverter.cs (1)
26return Brushes.Red;
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
1469return Brushes.White;
src\wpf\src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
627return Brushes.White;
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
906return Brushes.White;
src\wpf\src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
627return Brushes.White;
ReachFramework (7)
AlphaFlattener\BrushProxy.cs (5)
1481context.DrawGeometry(Brushes.Black, null, geometry); 2599private static BrushProxy _blackBrush = new BrushProxy(Brushes.Black); 2600private static BrushProxy _whiteBrush = new BrushProxy(Brushes.White); 3037Brushes.Transparent, 3134Brushes.Transparent,
Serialization\VisualSerializer.cs (2)
1865brush = Brushes.Transparent; 2038foreground = Brushes.Transparent;
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
158if (brush == Brushes.Transparent)