25 instantiations of ComponentResourceKey
PresentationFramework (21)
MS\Internal\Documents\DocumentGridPage.cs (1)
228var key = new ComponentResourceKey(typeof(FrameworkElement), "DocumentGridPageContainerWithBorder");
MS\Internal\Documents\DocumentViewerHelper.cs (1)
303_findToolBarStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowViewers_FindToolBar");
System\Windows\Controls\FlowDocumentReader.cs (4)
48new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentReader"))); 2050_pageViewStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIPageViewStyleKey"); 2066_twoPageViewStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUITwoPageViewStyleKey"); 2082_scrollViewStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIScrollViewStyleKey");
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
55new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentScrollViewer")));
System\Windows\Controls\MenuItem.cs (4)
81_topLevelItemTemplateKey = new ComponentResourceKey(typeof(MenuItem), "TopLevelItemTemplateKey"); 97_topLevelHeaderTemplateKey = new ComponentResourceKey(typeof(MenuItem), "TopLevelHeaderTemplateKey"); 113_submenuItemTemplateKey = new ComponentResourceKey(typeof(MenuItem), "SubmenuItemTemplateKey"); 129_submenuHeaderTemplateKey = new ComponentResourceKey(typeof(MenuItem), "SubmenuHeaderTemplateKey");
System\Windows\Controls\Primitives\CalendarItem.cs (1)
1419_dayTitleTemplateResourceKey = new ComponentResourceKey(typeof(CalendarItem), ElementDayTitleTemplate);
System\Windows\Controls\SinglePageViewer.cs (1)
51new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentPageViewer")));
System\Windows\Controls\StickyNote.cs (1)
99new ComponentResourceKey(typeof(PresentationUIStyleResources), "StickyNoteControlStyleKey")));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
2971DefaultConstructor = delegate () { return new System.Windows.ComponentResourceKey(); }, 2978return new System.Windows.ComponentResourceKey(
System\Windows\Markup\KnownTypes.cs (1)
1173case 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)
1034ResourceKey toolBarStyleKey = new ComponentResourceKey(
MS\Internal\Documents\RightsManagementResourceHelper.cs (1)
141new ComponentResourceKey(typeof(PresentationUIStyleResources), resourceName));
MS\Internal\Documents\SignatureResourceHelper.cs (1)
168new ComponentResourceKey(
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
50DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(Ribbon), "RibbonWindowStyle")));
38 references to ComponentResourceKey
PresentationFramework (38)
HashHelper.cs (1)
20typeof(System.Windows.ComponentResourceKey) // bug 1612119
MS\Internal\Documents\DocumentGridPage.cs (1)
228var key = new ComponentResourceKey(typeof(FrameworkElement), "DocumentGridPageContainerWithBorder");
System\Windows\ComponentResourceKey.cs (2)
102ComponentResourceKey key = o as ComponentResourceKey;
System\Windows\ComponentResourceKeyConverter.cs (2)
98ComponentResourceKey key = value as ComponentResourceKey;
System\Windows\Controls\DataGrid.cs (1)
1448public static ComponentResourceKey FocusBorderBrushKey
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
40public static ComponentResourceKey TextBlockComboBoxStyleKey
System\Windows\Controls\FlowDocumentReader.cs (3)
2090private static ComponentResourceKey _pageViewStyleKey; 2091private static ComponentResourceKey _twoPageViewStyleKey; 2092private static ComponentResourceKey _scrollViewStyleKey;
System\Windows\Controls\MenuItem.cs (4)
136private static ComponentResourceKey _topLevelItemTemplateKey; 137private static ComponentResourceKey _topLevelHeaderTemplateKey; 138private static ComponentResourceKey _submenuItemTemplateKey; 139private static ComponentResourceKey _submenuHeaderTemplateKey;
System\Windows\Controls\Primitives\CalendarItem.cs (2)
42private static ComponentResourceKey _dayTitleTemplateResourceKey = null; 1413public static ComponentResourceKey DayTitleTemplateResourceKey
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
1003public static ComponentResourceKey ColumnHeaderDropSeparatorStyleKey 1014public static ComponentResourceKey ColumnFloatingHeaderStyleKey
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
189case 95: t = () => typeof(ComponentResourceKey); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (8)
7040Type type = typeof(System.Windows.ComponentResourceKey); 7042this.GetXamlType(typeof(System.Windows.ComponentResourceKey)), // DeclaringType 7051SetDelegate = delegate (object target, object value) { ((System.Windows.ComponentResourceKey)target).ResourceId = (System.Object)value; }, 7052GetDelegate = delegate (object target) { return ((System.Windows.ComponentResourceKey)target).ResourceId; } 7061Type type = typeof(System.Windows.ComponentResourceKey); 7063this.GetXamlType(typeof(System.Windows.ComponentResourceKey)), // DeclaringType 7072SetDelegate = delegate (object target, object value) { ((System.Windows.ComponentResourceKey)target).TypeInTargetAssembly = (System.Type)value; }, 7073GetDelegate = delegate (object target) { return ((System.Windows.ComponentResourceKey)target).TypeInTargetAssembly; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2968typeof(System.Windows.ComponentResourceKey),
System\Windows\Markup\KnownTypes.cs (1)
5643case 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;