20 references to ForegroundProperty
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
71
new Setter(
ForegroundProperty
, new DynamicResourceExtension(EnvironmentColors.ToolTipTextBrushKey)),
PresentationFramework (14)
System\Windows\Controls\Control.cs (2)
157
get { return (Brush) GetValue(
ForegroundProperty
); }
158
set { SetValue(
ForegroundProperty
, value); }
System\Windows\Controls\DatePicker.cs (2)
1087
_calendar.SetBinding(Calendar.
ForegroundProperty
, GetDatePickerBinding(DatePicker.
ForegroundProperty
));
System\Windows\Controls\MenuItem.cs (1)
175
ForegroundProperty
.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemColors.MenuTextBrush));
System\Windows\Controls\ProgressBar.cs (1)
49
ForegroundProperty
.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(OnForegroundChanged));
System\Windows\Controls\StickyNote.cs (6)
132
ForegroundProperty
.OverrideMetadata(
827
if (e.Property ==
ForegroundProperty
&& stickyNoteControl.Content != null && stickyNoteControl.Content.Type != StickyNoteType.Ink)
831
innerControl.SetValue(
ForegroundProperty
, e.NewValue);
1477
innerControl.SetValue(
ForegroundProperty
, GetValue(
ForegroundProperty
));
1523
innerControl.ClearValue(
ForegroundProperty
);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2246
DependencyProperty dp = System.Windows.Controls.Control.
ForegroundProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1744
return System.Windows.Controls.Control.
ForegroundProperty
;
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
132
_keyTipControl.ClearValue(Control.
ForegroundProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
72
ForegroundProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnForegroundChanged)));
586
BaseValueSource newValueSource = DependencyPropertyHelper.GetValueSource(ribbonGroup,
ForegroundProperty
).BaseValueSource;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1663
new PropertyAndTransferMode () { Property = Control.
ForegroundProperty
, Mode = TransferMode.AlwaysTransfer },
WindowsFormsIntegration (1)
System\Windows\Integration\WindowsFormsHost.cs (1)
678
SWC.Control.
ForegroundProperty
.AddOwner(typeof(WindowsFormsHost));