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