25 instantiations of ComponentResourceKey
PresentationFramework (21)
MS\Internal\Documents\DocumentGridPage.cs (1)
241var key = new ComponentResourceKey(typeof(FrameworkElement), "DocumentGridPageContainerWithBorder");
MS\Internal\Documents\DocumentViewerHelper.cs (1)
305_findToolBarStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowViewers_FindToolBar");
System\Windows\Controls\FlowDocumentReader.cs (4)
53new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentReader"))); 2090_pageViewStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIPageViewStyleKey"); 2106_twoPageViewStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUITwoPageViewStyleKey"); 2122_scrollViewStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIScrollViewStyleKey");
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
58new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentScrollViewer")));
System\Windows\Controls\MenuItem.cs (4)
91_topLevelItemTemplateKey = new ComponentResourceKey(typeof(MenuItem), "TopLevelItemTemplateKey"); 107_topLevelHeaderTemplateKey = new ComponentResourceKey(typeof(MenuItem), "TopLevelHeaderTemplateKey"); 123_submenuItemTemplateKey = new ComponentResourceKey(typeof(MenuItem), "SubmenuItemTemplateKey"); 139_submenuHeaderTemplateKey = new ComponentResourceKey(typeof(MenuItem), "SubmenuHeaderTemplateKey");
System\Windows\Controls\Primitives\CalendarItem.cs (1)
1430_dayTitleTemplateResourceKey = new ComponentResourceKey(typeof(CalendarItem), ElementDayTitleTemplate);
System\Windows\Controls\SinglePageViewer.cs (1)
54new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentPageViewer")));
System\Windows\Controls\StickyNote.cs (1)
126new ComponentResourceKey(typeof(PresentationUIStyleResources), "StickyNoteControlStyleKey")));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
2826bamlType.DefaultConstructor = delegate() { return new System.Windows.ComponentResourceKey(); }; 2832return new System.Windows.ComponentResourceKey(
System\Windows\Markup\KnownTypes.cs (1)
1179case KnownElements.ComponentResourceKey: o = new System.Windows.ComponentResourceKey(); break;
System\Windows\SystemResourceKey.cs (4)
2027_focusBorderBrushKey = new ComponentResourceKey(typeof(DataGrid), "FocusBorderBrushKey"); 2040_textBlockComboBoxStyleKey = new ComponentResourceKey(typeof(DataGrid), "TextBlockComboBoxStyleKey"); 2065_columnFloatingHeaderStyleKey = new ComponentResourceKey(typeof(DataGrid), "ColumnFloatingHeaderStyleKey"); 2078_columnHeaderDropSeparatorStyleKey = new ComponentResourceKey(typeof(DataGrid), "ColumnHeaderDropSeparatorStyleKey");
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1040ResourceKey toolBarStyleKey = new ComponentResourceKey(
MS\Internal\Documents\RightsManagementResourceHelper.cs (1)
146new ComponentResourceKey(typeof(PresentationUIStyleResources), resourceName));
MS\Internal\Documents\SignatureResourceHelper.cs (1)
173new ComponentResourceKey(
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
55DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(Ribbon), "RibbonWindowStyle")));
38 references to ComponentResourceKey
PresentationFramework (38)
MS\Internal\Documents\DocumentGridPage.cs (1)
241var key = new ComponentResourceKey(typeof(FrameworkElement), "DocumentGridPageContainerWithBorder");
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\HashHelper.cs (1)
46typeof(System.Windows.ComponentResourceKey), // bug 1612119
System\Windows\ComponentResourceKey.cs (2)
104ComponentResourceKey key = o as ComponentResourceKey;
System\Windows\ComponentResourceKeyConverter.cs (2)
101ComponentResourceKey key = value as ComponentResourceKey;
System\Windows\Controls\DataGrid.cs (1)
1460public static ComponentResourceKey FocusBorderBrushKey
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
44public static ComponentResourceKey TextBlockComboBoxStyleKey
System\Windows\Controls\FlowDocumentReader.cs (3)
2130private static ComponentResourceKey _pageViewStyleKey; 2131private static ComponentResourceKey _twoPageViewStyleKey; 2132private static ComponentResourceKey _scrollViewStyleKey;
System\Windows\Controls\MenuItem.cs (4)
146private static ComponentResourceKey _topLevelItemTemplateKey; 147private static ComponentResourceKey _topLevelHeaderTemplateKey; 148private static ComponentResourceKey _submenuItemTemplateKey; 149private static ComponentResourceKey _submenuHeaderTemplateKey;
System\Windows\Controls\Primitives\CalendarItem.cs (2)
47private static ComponentResourceKey _dayTitleTemplateResourceKey = null; 1424public static ComponentResourceKey DayTitleTemplateResourceKey
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
1023public static ComponentResourceKey ColumnHeaderDropSeparatorStyleKey 1034public static ComponentResourceKey ColumnFloatingHeaderStyleKey
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
191case 95: t = () => typeof(ComponentResourceKey); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (8)
6556Type type = typeof(System.Windows.ComponentResourceKey); 6558this.GetXamlType(typeof(System.Windows.ComponentResourceKey)), // DeclaringType 6566bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.ComponentResourceKey)target).ResourceId = (System.Object)value; }; 6567bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.ComponentResourceKey)target).ResourceId; }; 6575Type type = typeof(System.Windows.ComponentResourceKey); 6577this.GetXamlType(typeof(System.Windows.ComponentResourceKey)), // DeclaringType 6585bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.ComponentResourceKey)target).TypeInTargetAssembly = (System.Type)value; }; 6586bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.ComponentResourceKey)target).TypeInTargetAssembly; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2824typeof(System.Windows.ComponentResourceKey),
System\Windows\Markup\KnownTypes.cs (1)
5649case KnownElements.ComponentResourceKey: t = typeof(System.Windows.ComponentResourceKey); break;
System\Windows\SystemResourceKey.cs (8)
2021internal static ComponentResourceKey DataGridFocusBorderBrushKey 2034internal static ComponentResourceKey DataGridComboBoxColumnTextBlockComboBoxStyleKey 2059internal static ComponentResourceKey DataGridColumnHeaderColumnFloatingHeaderStyleKey 2072internal static ComponentResourceKey DataGridColumnHeaderColumnHeaderDropSeparatorStyleKey 2267private static ComponentResourceKey _focusBorderBrushKey; 2268private static ComponentResourceKey _textBlockComboBoxStyleKey; 2270private static ComponentResourceKey _columnHeaderDropSeparatorStyleKey; 2271private static ComponentResourceKey _columnFloatingHeaderStyleKey;