System\Windows\Media\DrawingDrawingContext.cs (10)
136Brush brush,
164Brush brush,
241Brush brush,
281Brush brush,
376Brush brush,
418Brush brush,
502Brush brush,
759public override void PushOpacityMask(Brush brush)
1068public override void DrawGlyphRun(Brush foregroundBrush, GlyphRun glyphRun)
1287private void AddNewGeometryDrawing(Brush brush, Pen pen, Geometry geometry)
System\Windows\Media\FormattedText.cs (9)
37Brush foreground) : this(
67Brush foreground,
101Brush foreground,
133Brush foreground,
167Brush foreground,
192Brush foreground,
201double emSize, Brush foreground, NumberSubstitution numberSubstitution, TextFormattingMode textFormattingMode, double pixelsPerDip)
308public void SetForegroundBrush(Brush foregroundBrush)
319public void SetForegroundBrush(Brush foregroundBrush, int startIndex, int count)
System\Windows\Media\Generated\RenderData.cs (18)
1166(Brush)DependentLookup(data->hBrush),
1178(data->hBrush == 0) ? null : (Brush)DependentLookup(data->hBrush),
1190(Brush)DependentLookup(data->hBrush),
1204(data->hBrush == 0) ? null : (Brush)DependentLookup(data->hBrush),
1218(Brush)DependentLookup(data->hBrush),
1232(data->hBrush == 0) ? null : (Brush)DependentLookup(data->hBrush),
1246(Brush)DependentLookup(data->hBrush),
1280(Brush)DependentLookup(data->hForegroundBrush),
1333(Brush)DependentLookup(data->hOpacityMask)
1508(Brush)DependentLookup(data->hBrush),
1520(Brush)DependentLookup(data->hBrush),
1533(Brush)DependentLookup(data->hBrush),
1547(Brush)DependentLookup(data->hBrush),
1564(Brush)DependentLookup(data->hBrush),
1578(Brush)DependentLookup(data->hBrush),
1595(Brush)DependentLookup(data->hBrush),
1630(Brush)DependentLookup(data->hForegroundBrush),
1684(Brush)DependentLookup(data->hOpacityMask)
MS\Internal\PtsHost\ParagraphVisual.cs (8)
36internal void DrawBackgroundAndBorder(Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk)
60internal void DrawBackgroundAndBorderIntoContext(DrawingContext dc, Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk)
65_backgroundBrush = (Brush)FreezableOperations.GetAsFrozenIfPossible(backgroundBrush);
67_borderBrush = (Brush)FreezableOperations.GetAsFrozenIfPossible(borderBrush);
163private Brush _backgroundBrush; // Background brush
164private Brush _borderBrush; // Border brush
System\Windows\Controls\DataGrid.cs (12)
710typeof(Brush),
717public Brush HorizontalGridLinesBrush
719get { return (Brush)GetValue(HorizontalGridLinesBrushProperty); }
729typeof(Brush),
736public Brush VerticalGridLinesBrush
738get { return (Brush)GetValue(VerticalGridLinesBrushProperty); }
1039public Brush RowBackground
1041get { return (Brush)GetValue(RowBackgroundProperty); }
1049DependencyProperty.Register("RowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged)));
1057public Brush AlternatingRowBackground
1059get { return (Brush)GetValue(AlternatingRowBackgroundProperty); }
1067DependencyProperty.Register("AlternatingRowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyDataGridAndRowPropertyChanged)));