System\Windows\Media\DrawingDrawingContext.cs (10)
153Brush brush,
181Brush brush,
257Brush brush,
297Brush brush,
391Brush brush,
433Brush brush,
516Brush brush,
771public override void PushOpacityMask(Brush brush)
1081public override void DrawGlyphRun(Brush foregroundBrush, GlyphRun glyphRun)
1298private void AddNewGeometryDrawing(Brush brush, Pen pen, Geometry geometry)
System\Windows\Media\FormattedText.cs (9)
56Brush foreground) : this(
86Brush foreground,
120Brush foreground,
152Brush foreground,
186Brush foreground,
211Brush foreground,
220double emSize, Brush foreground, NumberSubstitution numberSubstitution, TextFormattingMode textFormattingMode, double pixelsPerDip)
327public void SetForegroundBrush(Brush foregroundBrush)
338public void SetForegroundBrush(Brush foregroundBrush, int startIndex, int count)
System\Windows\Media\Generated\RenderData.cs (18)
1179(Brush)DependentLookup(data->hBrush),
1191(data->hBrush == 0) ? null : (Brush)DependentLookup(data->hBrush),
1203(Brush)DependentLookup(data->hBrush),
1217(data->hBrush == 0) ? null : (Brush)DependentLookup(data->hBrush),
1231(Brush)DependentLookup(data->hBrush),
1245(data->hBrush == 0) ? null : (Brush)DependentLookup(data->hBrush),
1259(Brush)DependentLookup(data->hBrush),
1293(Brush)DependentLookup(data->hForegroundBrush),
1346(Brush)DependentLookup(data->hOpacityMask)
1521(Brush)DependentLookup(data->hBrush),
1533(Brush)DependentLookup(data->hBrush),
1546(Brush)DependentLookup(data->hBrush),
1560(Brush)DependentLookup(data->hBrush),
1577(Brush)DependentLookup(data->hBrush),
1591(Brush)DependentLookup(data->hBrush),
1608(Brush)DependentLookup(data->hBrush),
1643(Brush)DependentLookup(data->hForegroundBrush),
1697(Brush)DependentLookup(data->hOpacityMask)
MS\Internal\PtsHost\ParagraphVisual.cs (8)
37internal void DrawBackgroundAndBorder(Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk)
61internal void DrawBackgroundAndBorderIntoContext(DrawingContext dc, Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk)
66_backgroundBrush = (Brush)FreezableOperations.GetAsFrozenIfPossible(backgroundBrush);
68_borderBrush = (Brush)FreezableOperations.GetAsFrozenIfPossible(borderBrush);
156private Brush _backgroundBrush; // Background brush
157private Brush _borderBrush; // Border brush
System\Windows\Controls\DataGrid.cs (12)
716typeof(Brush),
723public Brush HorizontalGridLinesBrush
725get { return (Brush)GetValue(HorizontalGridLinesBrushProperty); }
735typeof(Brush),
742public Brush VerticalGridLinesBrush
744get { return (Brush)GetValue(VerticalGridLinesBrushProperty); }
1045public Brush RowBackground
1047get { return (Brush)GetValue(RowBackgroundProperty); }
1055DependencyProperty.Register("RowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged)));
1063public Brush AlternatingRowBackground
1065get { return (Brush)GetValue(AlternatingRowBackgroundProperty); }
1073DependencyProperty.Register("AlternatingRowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyDataGridAndRowPropertyChanged)));