System\Windows\Media\DrawingDrawingContext.cs (10)
135Brush brush,
163Brush brush,
240Brush brush,
280Brush brush,
375Brush brush,
417Brush brush,
501Brush brush,
758public override void PushOpacityMask(Brush brush)
1067public override void DrawGlyphRun(Brush foregroundBrush, GlyphRun glyphRun)
1286private void AddNewGeometryDrawing(Brush brush, Pen pen, Geometry geometry)
System\Windows\Media\FormattedText.cs (9)
36Brush foreground) : this(
66Brush foreground,
100Brush foreground,
132Brush foreground,
166Brush foreground,
191Brush foreground,
200double emSize, Brush foreground, NumberSubstitution numberSubstitution, TextFormattingMode textFormattingMode, double pixelsPerDip)
307public void SetForegroundBrush(Brush foregroundBrush)
318public void SetForegroundBrush(Brush foregroundBrush, int startIndex, int count)
System\Windows\Media\Generated\RenderData.cs (18)
1167(Brush)DependentLookup(data->hBrush),
1179(data->hBrush == 0) ? null : (Brush)DependentLookup(data->hBrush),
1191(Brush)DependentLookup(data->hBrush),
1205(data->hBrush == 0) ? null : (Brush)DependentLookup(data->hBrush),
1219(Brush)DependentLookup(data->hBrush),
1233(data->hBrush == 0) ? null : (Brush)DependentLookup(data->hBrush),
1247(Brush)DependentLookup(data->hBrush),
1281(Brush)DependentLookup(data->hForegroundBrush),
1334(Brush)DependentLookup(data->hOpacityMask)
1509(Brush)DependentLookup(data->hBrush),
1521(Brush)DependentLookup(data->hBrush),
1534(Brush)DependentLookup(data->hBrush),
1548(Brush)DependentLookup(data->hBrush),
1565(Brush)DependentLookup(data->hBrush),
1579(Brush)DependentLookup(data->hBrush),
1596(Brush)DependentLookup(data->hBrush),
1631(Brush)DependentLookup(data->hForegroundBrush),
1685(Brush)DependentLookup(data->hOpacityMask)
MS\Internal\PtsHost\ParagraphVisual.cs (8)
35internal void DrawBackgroundAndBorder(Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk)
59internal void DrawBackgroundAndBorderIntoContext(DrawingContext dc, Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk)
64_backgroundBrush = (Brush)FreezableOperations.GetAsFrozenIfPossible(backgroundBrush);
66_borderBrush = (Brush)FreezableOperations.GetAsFrozenIfPossible(borderBrush);
162private Brush _backgroundBrush; // Background brush
163private Brush _borderBrush; // Border brush
System\Windows\Controls\DataGrid.cs (12)
709typeof(Brush),
716public Brush HorizontalGridLinesBrush
718get { return (Brush)GetValue(HorizontalGridLinesBrushProperty); }
728typeof(Brush),
735public Brush VerticalGridLinesBrush
737get { return (Brush)GetValue(VerticalGridLinesBrushProperty); }
1038public Brush RowBackground
1040get { return (Brush)GetValue(RowBackgroundProperty); }
1048DependencyProperty.Register("RowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged)));
1056public Brush AlternatingRowBackground
1058get { return (Brush)GetValue(AlternatingRowBackgroundProperty); }
1066DependencyProperty.Register("AlternatingRowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyDataGridAndRowPropertyChanged)));