24 references to SetResourceReference
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
QuickInfo\ContentControlService.cs (2)
63toolTip.SetResourceReference(Control.BackgroundProperty, backgroundResourceKey); 86toolTip.SetResourceReference(Control.BackgroundProperty, backgroundResourceKey);
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (2)
146SetResourceReference(BackgroundProperty, VsBrushes.CommandBarMenuBackgroundGradientKey); 147SetResourceReference(BorderBrushProperty, VsBrushes.CommandBarMenuBorderKey);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
143toolbarGrid.SetResourceReference(Control.BackgroundProperty, EnvironmentColors.CommandBarGradientBrushKey);
PresentationFramework (12)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
51findToolBar.SetResourceReference(Control.StyleProperty, FindToolBarStyleKey);
System\Windows\Controls\ContextMenu.cs (1)
498_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.MenuPopupAnimationKey);
System\Windows\Controls\FlowDocumentReader.cs (3)
1153_pageViewer.SetResourceReference(StyleProperty, PageViewStyleKey); 1163_twoPageViewer.SetResourceReference(StyleProperty, TwoPageViewStyleKey); 1173_scrollViewer.SetResourceReference(StyleProperty, ScrollViewStyleKey);
System\Windows\Controls\MenuItem.cs (1)
1336separator.SetResourceReference(StyleProperty, SeparatorStyleKey);
System\Windows\Controls\Primitives\StatusBar.cs (1)
144separator.SetResourceReference(StyleProperty, SeparatorStyleKey);
System\Windows\Controls\ToolBar.cs (1)
485fe.SetResourceReference(StyleProperty, resourceKey);
System\Windows\Controls\ToolTip.cs (1)
519_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.ToolTipPopupAnimationKey);
System\windows\Documents\TextEditorContextMenu.cs (1)
424SetResourceReference(StyleProperty, typeof(ContextMenu));
System\Windows\ThemeManager.cs (2)
293window.SetResourceReference(FrameworkElement.StyleProperty, typeof(NavigationWindow)); 297window.SetResourceReference(FrameworkElement.StyleProperty, typeof(Window));
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
35SetResourceReference(ControlBrushProperty, SystemColors.ControlBrushKey);
PresentationFramework.Tests (3)
System\Windows\ResourceDictionaryTests.cs (3)
114textBlock.SetResourceReference(TextBlock.ForegroundProperty, key); 128textBlock.SetResourceReference(TextBlock.ForegroundProperty, key); 148textBlock.SetResourceReference(TextBlock.ForegroundProperty, key);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
565separator.SetResourceReference(StyleProperty, MenuItem.SeparatorStyleKey);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
580separator.SetResourceReference(StyleProperty, MenuItem.SeparatorStyleKey);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
555separator.SetResourceReference(StyleProperty, MenuItem.SeparatorStyleKey);