2 writes to Resources
PresentationFramework (2)
System\Windows\Application.cs (1)
929
set {
Resources
= value; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7429
SetDelegate = delegate (object target, object value) { ((System.Windows.Application)target).
Resources
= (System.Windows.ResourceDictionary)value; },
13 references to Resources
Microsoft.VisualStudio.LanguageServices.CSharp (2)
SemanticSearch\SemanticSearchToolWindowImpl.cs (2)
225
ImageThemingUtilities.SetImageBackgroundColor(outerGrid, (Color)Application.Current.
Resources
[CommonDocumentColors.PageBackgroundColorKey]);
257
BorderBrush = (Brush)Application.Current.
Resources
[EnvironmentColors.SystemHighlightBrushKey],
PresentationFramework (11)
System\Windows\Application.cs (2)
928
get { return
Resources
; }
947
/// <see cref="ThemeMode"/> and <see cref="
Resources
"/> are designed to be in sync with each other.
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7430
GetDelegate = delegate (object target) { return ((System.Windows.Application)target).
Resources
; }
System\Windows\SystemResources.cs (2)
1881
lock (((ICollection)Application.Current.
Resources
).SyncRoot)
1890
lock (((ICollection)Application.Current.
Resources
).SyncRoot)
System\Windows\ThemeManager.cs (6)
29
AddOrUpdateThemeResources(Application.Current.
Resources
, GetThemeDictionary(Application.Current.ThemeMode));
88
AddOrUpdateThemeResources(Application.Current.
Resources
, GetThemeDictionary(newThemeMode));
123
ThemeMode themeMode = GetThemeModeFromResourceDictionary(Application.Current.
Resources
);
203
return Application.Current != null && LastIndexOfFluentThemeDictionary(Application.Current.
Resources
) != -1;
216
IEnumerable<int> indices = FindAllFluentThemeResourceDictionaryIndices(Application.Current.
Resources
);
220
Application.Current.
Resources
.MergedDictionaries.RemoveAt(index);