24 references to ForegroundProperty
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
DependencyObjectExtensions.cs (1)
21
dependencyObject.SetValue(TextElement.
ForegroundProperty
, textProperties.ForegroundBrush);
PresentationFramework (21)
MS\Internal\Text\TextProperties.cs (1)
207
_foreground = (Brush) target.GetValue(TextElement.
ForegroundProperty
);
System\Windows\Controls\AccessText.cs (1)
236
TextElement.
ForegroundProperty
.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
144
TextElement.
ForegroundProperty
.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
119
DataGridHelper.SyncColumnProperty(this, e, TextElement.
ForegroundProperty
, ForegroundProperty);
147
DataGridHelper.SyncColumnProperty(this, textElement, TextElement.
ForegroundProperty
, ForegroundProperty);
386
TextElement.
ForegroundProperty
.AddOwner(
System\Windows\Controls\Page.cs (1)
452
TextElement.
ForegroundProperty
.AddOwner(typeof(Page));
System\Windows\Controls\TextBlock.cs (1)
833
TextElement.
ForegroundProperty
.AddOwner(
System\Windows\Controls\TextRangeAdaptor.cs (1)
194
return ColorFromBrush(tp.GetValue(TextElement.
ForegroundProperty
));
System\Windows\Documents\FixedElement.cs (1)
89
TextElement.
ForegroundProperty
.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
252
element.SetValue(TextElement.
ForegroundProperty
, _foreground);
System\Windows\Documents\FlowDocument.cs (1)
282
TextElement.
ForegroundProperty
.AddOwner(
System\windows\Documents\TextEditorCharacters.cs (1)
414
TextEditorCharacters._OnApplyProperty(This, TextElement.
ForegroundProperty
, args.Parameter);
System\Windows\Documents\TextElement.cs (4)
709
get { return (Brush) GetValue(
ForegroundProperty
); }
710
set { SetValue(
ForegroundProperty
, value); }
722
element.SetValue(
ForegroundProperty
, value);
733
return (Brush)element.GetValue(
ForegroundProperty
);
System\Windows\Documents\TextSchema.cs (1)
53
TextElement.
ForegroundProperty
,
System\Windows\Documents\TextServicesDisplayAttribute.cs (1)
108
return ((SolidColorBrush)position.GetValue(TextElement.
ForegroundProperty
)).Color;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3758
DependencyProperty dp = System.Windows.Documents.TextElement.
ForegroundProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1928
return System.Windows.Documents.TextElement.
ForegroundProperty
;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
589
ribbonGroup._headerContentPresenter.SetValue(TextElement.
ForegroundProperty
, e.NewValue);
593
ribbonGroup._headerContentPresenter.ClearValue(TextElement.
ForegroundProperty
);