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