31 references to BackgroundProperty
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
QuickInfo\ContentControlService.cs (2)
63toolTip.SetResourceReference(Control.BackgroundProperty, backgroundResourceKey); 86toolTip.SetResourceReference(Control.BackgroundProperty, backgroundResourceKey);
Microsoft.VisualStudio.LanguageServices (3)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (3)
69new Setter(BackgroundProperty, new DynamicResourceExtension(EnvironmentColors.ToolTipBrushKey)), 81templateBorder.SetValue(Border.BackgroundProperty, new TemplateBindingExtension(BackgroundProperty)); 146SetResourceReference(BackgroundProperty, VsBrushes.CommandBarMenuBackgroundGradientKey);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
120toolbarGrid.SetResourceReference(Control.BackgroundProperty, EnvironmentColors.CommandBarGradientBrushKey);
PresentationFramework (12)
System\Windows\Controls\Control.cs (2)
124get { return (Brush) GetValue(BackgroundProperty); } 125set { SetValue(BackgroundProperty, value); }
System\Windows\Controls\DataGridRow.cs (6)
101BackgroundProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowPropertyChanged, OnCoerceBackground)); 654BackgroundProperty, 663BackgroundProperty, 879e.Property == BackgroundProperty || e.Property == AlternationIndexProperty) 881DataGridHelper.TransferProperty(this, BackgroundProperty); 993DataGridHelper.TransferProperty(this, BackgroundProperty);
System\Windows\Controls\ScrollViewer.cs (1)
2687grid.SetValue(Grid.BackgroundProperty, new TemplateBindingExtension(BackgroundProperty));
System\Windows\Controls\ToolTip.cs (1)
27BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush));
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2108DependencyProperty dp = System.Windows.Controls.Control.BackgroundProperty;
System\Windows\Markup\KnownTypes.cs (1)
1728return System.Windows.Controls.Control.BackgroundProperty;
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\BulletChrome.cs (1)
50Control.BackgroundProperty.AddOwner(
Microsoft\Windows\Themes\ButtonChrome.cs (1)
45Control.BackgroundProperty.AddOwner(
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
45Control.BackgroundProperty.AddOwner(
PresentationFramework.Aero2 (3)
Microsoft\Windows\Themes\BulletChrome.cs (1)
50Control.BackgroundProperty.AddOwner(
Microsoft\Windows\Themes\ButtonChrome.cs (1)
45Control.BackgroundProperty.AddOwner(
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
45Control.BackgroundProperty.AddOwner(
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
39Control.BackgroundProperty.AddOwner(
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
39Control.BackgroundProperty.AddOwner(
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
127_keyTipControl.ClearValue(Control.BackgroundProperty);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1655new PropertyAndTransferMode () { Property = Control.BackgroundProperty, Mode = TransferMode.AlwaysTransfer },
WindowsFormsIntegration (3)
System\Windows\Integration\WindowsFormsHost.cs (2)
395backgroundBrush = (Brush)dependencyObject.GetValue(SWC.Control.BackgroundProperty); 692SWC.Control.BackgroundProperty.AddOwner(typeof(WindowsFormsHost));
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (1)
67brush = (Brush)parent.GetValue(SWC.Control.BackgroundProperty);