25 instantiations of ComponentResourceKey
PresentationFramework (21)
MS\Internal\Documents\DocumentGridPage.cs (1)
227var key = new ComponentResourceKey(typeof(FrameworkElement), "DocumentGridPageContainerWithBorder");
MS\Internal\Documents\DocumentViewerHelper.cs (1)
302_findToolBarStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowViewers_FindToolBar");
System\Windows\Controls\FlowDocumentReader.cs (4)
47new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentReader"))); 2049_pageViewStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIPageViewStyleKey"); 2065_twoPageViewStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUITwoPageViewStyleKey"); 2081_scrollViewStyleKey = new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIScrollViewStyleKey");
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
54new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentScrollViewer")));
System\Windows\Controls\MenuItem.cs (4)
80_topLevelItemTemplateKey = new ComponentResourceKey(typeof(MenuItem), "TopLevelItemTemplateKey"); 96_topLevelHeaderTemplateKey = new ComponentResourceKey(typeof(MenuItem), "TopLevelHeaderTemplateKey"); 112_submenuItemTemplateKey = new ComponentResourceKey(typeof(MenuItem), "SubmenuItemTemplateKey"); 128_submenuHeaderTemplateKey = new ComponentResourceKey(typeof(MenuItem), "SubmenuHeaderTemplateKey");
System\Windows\Controls\Primitives\CalendarItem.cs (1)
1418_dayTitleTemplateResourceKey = new ComponentResourceKey(typeof(CalendarItem), ElementDayTitleTemplate);
System\Windows\Controls\SinglePageViewer.cs (1)
50new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentPageViewer")));
System\Windows\Controls\StickyNote.cs (1)
98new ComponentResourceKey(typeof(PresentationUIStyleResources), "StickyNoteControlStyleKey")));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
2970DefaultConstructor = delegate () { return new System.Windows.ComponentResourceKey(); }, 2977return new System.Windows.ComponentResourceKey(
System\Windows\Markup\KnownTypes.cs (1)
1172case KnownElements.ComponentResourceKey: o = new System.Windows.ComponentResourceKey(); break;
System\Windows\SystemResourceKey.cs (4)
2026_focusBorderBrushKey = new ComponentResourceKey(typeof(DataGrid), "FocusBorderBrushKey"); 2039_textBlockComboBoxStyleKey = new ComponentResourceKey(typeof(DataGrid), "TextBlockComboBoxStyleKey"); 2064_columnFloatingHeaderStyleKey = new ComponentResourceKey(typeof(DataGrid), "ColumnFloatingHeaderStyleKey"); 2077_columnHeaderDropSeparatorStyleKey = new ComponentResourceKey(typeof(DataGrid), "ColumnHeaderDropSeparatorStyleKey");
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1033ResourceKey toolBarStyleKey = new ComponentResourceKey(
MS\Internal\Documents\RightsManagementResourceHelper.cs (1)
141new ComponentResourceKey(typeof(PresentationUIStyleResources), resourceName));
MS\Internal\Documents\SignatureResourceHelper.cs (1)
167new ComponentResourceKey(
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
49DefaultStyleKeyProperty.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)
227var key = new ComponentResourceKey(typeof(FrameworkElement), "DocumentGridPageContainerWithBorder");
System\Windows\ComponentResourceKey.cs (2)
101ComponentResourceKey key = o as ComponentResourceKey;
System\Windows\ComponentResourceKeyConverter.cs (2)
97ComponentResourceKey key = value as ComponentResourceKey;
System\Windows\Controls\DataGrid.cs (1)
1447public static ComponentResourceKey FocusBorderBrushKey
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
39public static ComponentResourceKey TextBlockComboBoxStyleKey
System\Windows\Controls\FlowDocumentReader.cs (3)
2089private static ComponentResourceKey _pageViewStyleKey; 2090private static ComponentResourceKey _twoPageViewStyleKey; 2091private static ComponentResourceKey _scrollViewStyleKey;
System\Windows\Controls\MenuItem.cs (4)
135private static ComponentResourceKey _topLevelItemTemplateKey; 136private static ComponentResourceKey _topLevelHeaderTemplateKey; 137private static ComponentResourceKey _submenuItemTemplateKey; 138private static ComponentResourceKey _submenuHeaderTemplateKey;
System\Windows\Controls\Primitives\CalendarItem.cs (2)
41private static ComponentResourceKey _dayTitleTemplateResourceKey = null; 1412public static ComponentResourceKey DayTitleTemplateResourceKey
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
1002public static ComponentResourceKey ColumnHeaderDropSeparatorStyleKey 1013public static ComponentResourceKey ColumnFloatingHeaderStyleKey
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
188case 95: t = () => typeof(ComponentResourceKey); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (8)
7039Type type = typeof(System.Windows.ComponentResourceKey); 7041this.GetXamlType(typeof(System.Windows.ComponentResourceKey)), // DeclaringType 7050SetDelegate = delegate (object target, object value) { ((System.Windows.ComponentResourceKey)target).ResourceId = (System.Object)value; }, 7051GetDelegate = delegate (object target) { return ((System.Windows.ComponentResourceKey)target).ResourceId; } 7060Type type = typeof(System.Windows.ComponentResourceKey); 7062this.GetXamlType(typeof(System.Windows.ComponentResourceKey)), // DeclaringType 7071SetDelegate = delegate (object target, object value) { ((System.Windows.ComponentResourceKey)target).TypeInTargetAssembly = (System.Type)value; }, 7072GetDelegate = delegate (object target) { return ((System.Windows.ComponentResourceKey)target).TypeInTargetAssembly; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2967typeof(System.Windows.ComponentResourceKey),
System\Windows\Markup\KnownTypes.cs (1)
5642case KnownElements.ComponentResourceKey: t = typeof(System.Windows.ComponentResourceKey); break;
System\Windows\SystemResourceKey.cs (8)
2020internal static ComponentResourceKey DataGridFocusBorderBrushKey 2033internal static ComponentResourceKey DataGridComboBoxColumnTextBlockComboBoxStyleKey 2058internal static ComponentResourceKey DataGridColumnHeaderColumnFloatingHeaderStyleKey 2071internal static ComponentResourceKey DataGridColumnHeaderColumnHeaderDropSeparatorStyleKey 2266private static ComponentResourceKey _focusBorderBrushKey; 2267private static ComponentResourceKey _textBlockComboBoxStyleKey; 2269private static ComponentResourceKey _columnHeaderDropSeparatorStyleKey; 2270private static ComponentResourceKey _columnFloatingHeaderStyleKey;