3 writes to Foreground
Microsoft.CodeAnalysis.EditorFeatures.Wpf (3)
InlineDiagnostics\InlineDiagnosticsTag.cs (2)
62
Foreground
= format.ForegroundBrush,
187
block.
Foreground
= format.ForegroundBrush;
InlineHints\InlineHintsTag.cs (1)
134
Foreground
= format.ForegroundBrush,
8 references to Foreground
PresentationFramework (3)
System\Windows\Controls\TextBlock.cs (3)
816
/// DependencyProperty for <see cref="
Foreground
" /> property.
833
/// DependencyProperty setter for <see cref="
Foreground
" /> property.
845
/// DependencyProperty getter for <see cref="
Foreground
" /> property.
PresentationFramework.Tests (5)
System\Windows\ResourceDictionaryTests.cs (5)
116
textBlock.
Foreground
.Should().BeSameAs(brush);
130
textBlock.
Foreground
.Should().BeSameAs(initialBrush);
138
textBlock.
Foreground
.Should().BeSameAs(updatedBrush);
151
textBlock.
Foreground
.Should().BeSameAs(initialBrush);
160
textBlock.
Foreground
.Should().BeSameAs(Brushes.Black);