20 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)
120toolbarGrid.SetResourceReference(Control.BackgroundProperty, EnvironmentColors.CommandBarGradientBrushKey);
PresentationFramework (11)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
52findToolBar.SetResourceReference(Control.StyleProperty, FindToolBarStyleKey);
System\Windows\Controls\ContextMenu.cs (1)
498_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.MenuPopupAnimationKey);
System\Windows\Controls\FlowDocumentReader.cs (3)
1164_pageViewer.SetResourceReference(StyleProperty, PageViewStyleKey); 1174_twoPageViewer.SetResourceReference(StyleProperty, TwoPageViewStyleKey); 1184_scrollViewer.SetResourceReference(StyleProperty, ScrollViewStyleKey);
System\Windows\Controls\MenuItem.cs (1)
1340separator.SetResourceReference(StyleProperty, SeparatorStyleKey);
System\Windows\Controls\Primitives\StatusBar.cs (1)
145separator.SetResourceReference(StyleProperty, SeparatorStyleKey);
System\Windows\Controls\ToolBar.cs (1)
492fe.SetResourceReference(StyleProperty, resourceKey);
System\Windows\Controls\ToolTip.cs (1)
520_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.ToolTipPopupAnimationKey);
System\windows\Documents\TextEditorContextMenu.cs (1)
425SetResourceReference(StyleProperty, typeof(ContextMenu));
System\Windows\ThemeManager.cs (1)
288window.SetResourceReference(FrameworkElement.StyleProperty, typeof(Window));
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
36SetResourceReference(ControlBrushProperty, SystemColors.ControlBrushKey);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
552separator.SetResourceReference(StyleProperty, MenuItem.SeparatorStyleKey);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
581separator.SetResourceReference(StyleProperty, MenuItem.SeparatorStyleKey);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
556separator.SetResourceReference(StyleProperty, MenuItem.SeparatorStyleKey);