14 references to ForegroundProperty
PresentationFramework (14)
src\Framework\System\Windows\Controls\Control.cs (2)
158
get { return (Brush) GetValue(
ForegroundProperty
); }
159
set { SetValue(
ForegroundProperty
, value); }
src\Framework\System\Windows\Controls\DatePicker.cs (2)
1076
_calendar.SetBinding(Calendar.
ForegroundProperty
, GetDatePickerBinding(DatePicker.
ForegroundProperty
));
src\Framework\System\Windows\Controls\MenuItem.cs (1)
178
ForegroundProperty
.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemColors.MenuTextBrush));
src\Framework\System\Windows\Controls\ProgressBar.cs (1)
52
ForegroundProperty
.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(OnForegroundChanged));
src\Framework\System\Windows\Controls\StickyNote.cs (6)
142
ForegroundProperty
.OverrideMetadata(
837
if (e.Property ==
ForegroundProperty
&& stickyNoteControl.Content != null && stickyNoteControl.Content.Type != StickyNoteType.Ink)
841
innerControl.SetValue(
ForegroundProperty
, e.NewValue);
1487
innerControl.SetValue(
ForegroundProperty
, GetValue(
ForegroundProperty
));
1533
innerControl.ClearValue(
ForegroundProperty
);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2238
DependencyProperty dp = System.Windows.Controls.Control.
ForegroundProperty
;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1745
return System.Windows.Controls.Control.
ForegroundProperty
;