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