50 references to Brushes
PresentationCore (3)
Core\CSharp\System\Windows\Ink\Stroke2.cs (1)
446drawingContext.DrawGeometry(Brushes.White, null, GetGeometry(selectedDA));
Core\CSharp\System\Windows\Media\HitTestDrawingContextWalker.cs (1)
209DrawGeometry(Brushes.Black, null /* pen */, new RectangleGeometry(rectangle));
Core\CSharp\System\Windows\Media\HitTestWithGeometryDrawingContextWalker.cs (1)
186DrawGeometry(Brushes.Black, null /* pen */, new RectangleGeometry(rectangle));
PresentationFramework (28)
src\Framework\MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
48_adornerBorderPen = new Pen(Brushes.Black, 1.0);
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
48_adornerBorderPen = new Pen(Brushes.Black, 1.0); 74Brushes.Transparent, 78Pen squareCapPen = new Pen(Brushes.Black, LineThickness); 344drawingContext.DrawGeometry(Brushes.Transparent, null, backgroundGeometry);
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
1713_documentGridBackground.Background = Brushes.Transparent;
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (5)
256_pageBorder.Background = Brushes.White; 263_pageBorder.Background = Brushes.Transparent; 340_pageBorder.BorderBrush = Brushes.Black; 346_dropShadowRight.Fill = Brushes.Black; 350_dropShadowBottom.Fill = Brushes.Black;
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
480Pen pen1 = new Pen(Brushes.Gray, 0.7);
src\Framework\MS\Internal\PtsHost\PageVisual.cs (1)
62dc.DrawRectangle(Brushes.Transparent, null, _renderBounds);
src\Framework\System\Windows\Controls\BorderGapMaskConverter.cs (3)
114rectColumn1.Fill = Brushes.Black; 115rectColumn2.Fill = Brushes.Black; 116rectColumn3.Fill = Brushes.Black;
src\Framework\System\Windows\Controls\DataGrid.cs (2)
719new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 738new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged)));
src\Framework\System\Windows\Controls\Grid.cs (2)
4200s_oddDashPen = new Pen(Brushes.Blue, c_penWidth); 4208s_evenDashPen = new Pen(Brushes.Yellow, c_penWidth);
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
1194this.ScrollViewer.Background = Brushes.Transparent;
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1666this.ScrollViewer.Background = Brushes.Transparent;
src\Framework\System\Windows\Controls\Validation.cs (1)
605border.SetValue(Border.BorderBrushProperty, Brushes.Red);
src\Framework\System\Windows\Documents\FixedPage.cs (1)
447new FrameworkPropertyMetadata((Brush)Brushes.White, FrameworkPropertyMetadataOptions.AffectsRender));
src\Framework\System\Windows\Documents\FixedSOMTableCell.cs (1)
80element.SetValue(Block.BorderBrushProperty, Brushes.Black);
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
153Pen pen = new Pen(Brushes.Red, 0.33);
src\Framework\System\Windows\Documents\TextElement.cs (1)
734Brushes.Black,
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
675cell.BorderBrush = System.Windows.Media.Brushes.Black;
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ScrollChrome.cs (1)
1426return Brushes.White;
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
636return Brushes.White;
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
902return Brushes.White;
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
636return Brushes.White;
System.Activities.Presentation (15)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectAdorner.cs (6)
34private SolidColorBrush hitTestBrush = Brushes.Transparent; 35private Pen hitTestPen = new Pen(Brushes.Transparent, 0); 36private SolidColorBrush renderBrush = Brushes.Azure; 37private Pen renderPen = new Pen(Brushes.LightBlue, 1.0); 38private SolidColorBrush highlightBrush = Brushes.LightBlue; 39private Pen highlightPen = new Pen(Brushes.SteelBlue, 1);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitAdorner.cs (1)
17private Pen pen = new Pen(Brushes.SteelBlue, 1);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointsAdorner.cs (2)
63drawingContext.DrawRectangle(Brushes.Transparent, new Pen(Brushes.Transparent, 0),
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
493this.BorderBrush = Brushes.Transparent;
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
92errorGrid.Background = Brushes.Red;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (3)
82this.contentGrid.Background = Brushes.Transparent; 93this.containerGrid.Background = Brushes.Transparent; 1122this.wfItemPresenter.containerGrid.Background = Brushes.Transparent;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
84hintTextGrid.Background = Brushes.Transparent;