16 references to SetResourceReference
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);
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);