24 references to ForegroundProperty
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
DependencyObjectExtensions.cs (1)
21dependencyObject.SetValue(TextElement.ForegroundProperty, textProperties.ForegroundBrush);
PresentationFramework (21)
MS\Internal\Text\TextProperties.cs (1)
205_foreground = (Brush) target.GetValue(TextElement.ForegroundProperty);
System\Windows\Controls\AccessText.cs (1)
234TextElement.ForegroundProperty.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
135TextElement.ForegroundProperty.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
116DataGridHelper.SyncColumnProperty(this, e, TextElement.ForegroundProperty, ForegroundProperty); 144DataGridHelper.SyncColumnProperty(this, textElement, TextElement.ForegroundProperty, ForegroundProperty); 383TextElement.ForegroundProperty.AddOwner(
System\Windows\Controls\Page.cs (1)
445TextElement.ForegroundProperty.AddOwner(typeof(Page));
System\Windows\Controls\TextBlock.cs (1)
823TextElement.ForegroundProperty.AddOwner(
System\Windows\Controls\TextRangeAdaptor.cs (1)
192return ColorFromBrush(tp.GetValue(TextElement.ForegroundProperty));
System\Windows\Documents\FixedElement.cs (1)
81TextElement.ForegroundProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
248element.SetValue(TextElement.ForegroundProperty, _foreground);
System\Windows\Documents\FlowDocument.cs (1)
282TextElement.ForegroundProperty.AddOwner(
System\windows\Documents\TextEditorCharacters.cs (1)
398TextEditorCharacters._OnApplyProperty(This, TextElement.ForegroundProperty, args.Parameter);
System\Windows\Documents\TextElement.cs (4)
708get { return (Brush) GetValue(ForegroundProperty); } 709set { SetValue(ForegroundProperty, value); } 721element.SetValue(ForegroundProperty, value); 732return (Brush)element.GetValue(ForegroundProperty);
System\Windows\Documents\TextSchema.cs (1)
52TextElement.ForegroundProperty,
System\Windows\Documents\TextServicesDisplayAttribute.cs (1)
99return ((SolidColorBrush)position.GetValue(TextElement.ForegroundProperty)).Color;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3756DependencyProperty dp = System.Windows.Documents.TextElement.ForegroundProperty;
System\Windows\Markup\KnownTypes.cs (1)
1928return System.Windows.Documents.TextElement.ForegroundProperty;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
586ribbonGroup._headerContentPresenter.SetValue(TextElement.ForegroundProperty, e.NewValue); 590ribbonGroup._headerContentPresenter.ClearValue(TextElement.ForegroundProperty);