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)
54findToolBar.SetResourceReference(Control.StyleProperty, FindToolBarStyleKey);
System\Windows\Controls\ContextMenu.cs (1)
506_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.MenuPopupAnimationKey);
System\Windows\Controls\FlowDocumentReader.cs (3)
1169_pageViewer.SetResourceReference(StyleProperty, PageViewStyleKey); 1179_twoPageViewer.SetResourceReference(StyleProperty, TwoPageViewStyleKey); 1189_scrollViewer.SetResourceReference(StyleProperty, ScrollViewStyleKey);
System\Windows\Controls\MenuItem.cs (1)
1350separator.SetResourceReference(StyleProperty, SeparatorStyleKey);
System\Windows\Controls\Primitives\StatusBar.cs (1)
148separator.SetResourceReference(StyleProperty, SeparatorStyleKey);
System\Windows\Controls\ToolBar.cs (1)
501fe.SetResourceReference(StyleProperty, resourceKey);
System\Windows\Controls\ToolTip.cs (1)
533_parentPopup.SetResourceReference(Popup.PopupAnimationProperty, SystemParameters.ToolTipPopupAnimationKey);
System\windows\Documents\TextEditorContextMenu.cs (1)
427SetResourceReference(StyleProperty, typeof(ContextMenu));
System\Windows\ThemeManager.cs (1)
297window.SetResourceReference(FrameworkElement.StyleProperty, typeof(Window));
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
40SetResourceReference(ControlBrushProperty, SystemColors.ControlBrushKey);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
554separator.SetResourceReference(StyleProperty, MenuItem.SeparatorStyleKey);
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
584separator.SetResourceReference(StyleProperty, MenuItem.SeparatorStyleKey);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
559separator.SetResourceReference(StyleProperty, MenuItem.SeparatorStyleKey);