21 references to ForegroundProperty
PresentationFramework (21)
src\Framework\MS\Internal\Text\TextProperties.cs (1)
210_foreground = (Brush) target.GetValue(TextElement.ForegroundProperty);
src\Framework\System\Windows\Controls\AccessText.cs (1)
236TextElement.ForegroundProperty.AddOwner(typeof(AccessText));
src\Framework\System\Windows\Controls\Control.cs (1)
145TextElement.ForegroundProperty.AddOwner(
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (3)
120DataGridHelper.SyncColumnProperty(this, e, TextElement.ForegroundProperty, ForegroundProperty); 148DataGridHelper.SyncColumnProperty(this, textElement, TextElement.ForegroundProperty, ForegroundProperty); 387TextElement.ForegroundProperty.AddOwner(
src\Framework\System\Windows\Controls\Page.cs (1)
460TextElement.ForegroundProperty.AddOwner(typeof(Page));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
887TextElement.ForegroundProperty.AddOwner(
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
202return ColorFromBrush(tp.GetValue(TextElement.ForegroundProperty));
src\Framework\System\Windows\Documents\FixedElement.cs (1)
93TextElement.ForegroundProperty.AddOwner(
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
257element.SetValue(TextElement.ForegroundProperty, _foreground);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
290TextElement.ForegroundProperty.AddOwner(
src\Framework\System\windows\Documents\TextEditorCharacters.cs (1)
416TextEditorCharacters._OnApplyProperty(This, TextElement.ForegroundProperty, args.Parameter);
src\Framework\System\Windows\Documents\TextElement.cs (4)
744get { return (Brush) GetValue(ForegroundProperty); } 745set { SetValue(ForegroundProperty, value); } 760element.SetValue(ForegroundProperty, value); 774return (Brush)element.GetValue(ForegroundProperty);
src\Framework\System\Windows\Documents\TextSchema.cs (1)
55TextElement.ForegroundProperty,
src\Framework\System\Windows\Documents\TextServicesDisplayAttribute.cs (1)
115return ((SolidColorBrush)position.GetValue(TextElement.ForegroundProperty)).Color;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3733DependencyProperty dp = System.Windows.Documents.TextElement.ForegroundProperty;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1925return System.Windows.Documents.TextElement.ForegroundProperty;