16 instantiations of ResourcesChangeInfo
PresentationFramework (16)
src\Framework\System\Windows\Application.cs (1)
1068
InvalidateResourceReferences(new
ResourcesChangeInfo
(oldValue, value));
src\Framework\System\Windows\FrameworkContentElement.cs (1)
318
TreeWalkHelper.InvalidateOnResourcesChange(null, this, new
ResourcesChangeInfo
(oldValue, value));
src\Framework\System\Windows\FrameworkElement.cs (1)
748
TreeWalkHelper.InvalidateOnResourcesChange(this, null, new
ResourcesChangeInfo
(oldValue, value));
src\Framework\System\Windows\ResourceDictionary.cs (7)
277
NotifyOwners(new
ResourcesChangeInfo
(null, this));
471
NotifyOwners(new
ResourcesChangeInfo
(key));
661
NotifyOwners(new
ResourcesChangeInfo
(key));
844
NotifyOwners(new
ResourcesChangeInfo
(key));
968
NotifyOwners(new
ResourcesChangeInfo
(null, this));
1255
NotifyOwners(new
ResourcesChangeInfo
(null, this));
1902
info = new
ResourcesChangeInfo
(oldDictionaries, newDictionaries, false, false, null);
src\Framework\System\Windows\ResourcesChangeInfo.cs (4)
98
ResourcesChangeInfo info = new
ResourcesChangeInfo
();
112
ResourcesChangeInfo info = new
ResourcesChangeInfo
();
126
ResourcesChangeInfo info = new
ResourcesChangeInfo
();
141
ResourcesChangeInfo info = new
ResourcesChangeInfo
();
src\Framework\System\Windows\StyleHelper.cs (2)
3478
TreeWalkHelper.InvalidateOnResourcesChange(fe, fce, new
ResourcesChangeInfo
(oldStyleTables, newStyleTables, true /*isStyleResourcesChange*/, false /*isTemplateResourcesChange*/, container));
3525
TreeWalkHelper.InvalidateOnResourcesChange(fe, fce, new
ResourcesChangeInfo
(oldResourceTable, newResourceTable, false /*isStyleResourcesChange*/, true /*isTemplateResourcesChange*/, container));
45 references to ResourcesChangeInfo
PresentationFramework (45)
src\Framework\System\Windows\Application.cs (3)
1854
internal void InvalidateResourceReferences(
ResourcesChangeInfo
info)
2422
private void InvalidateResourceReferenceOnWindowCollection(WindowCollection wc,
ResourcesChangeInfo
info)
2454
TreeWalkHelper.InvalidateOnResourcesChange((FrameworkElement)args[0], null, (
ResourcesChangeInfo
)args[1]);
src\Framework\System\Windows\Controls\Frame.cs (1)
1333
TreeWalkHelper.InvalidateOnResourcesChange(fe, fce,
ResourcesChangeInfo
.ThemeChangeInfo);
src\Framework\System\Windows\Controls\GridViewColumn.cs (1)
508
TreeWalkHelper.InvalidateOnResourcesChange(fe, fce,
ResourcesChangeInfo
.ThemeChangeInfo);
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
1327
TreeWalkHelper.InvalidateOnResourcesChange(_popupRoot.Value, null,
ResourcesChangeInfo
.ThemeChangeInfo);
src\Framework\System\Windows\Generated\FrameworkContentElement.cs (5)
135
TreeWalkHelper.InvalidateOnResourcesChange(/* fe = */ null, /* fce = */ this,
ResourcesChangeInfo
.ThemeChangeInfo);
428
TreeWalkHelper.OnResourcesChanged(this,
ResourcesChangeInfo
.TreeChangeInfo, false);
651
TreeWalkHelper.InvalidateOnResourcesChange(contextMenu, null,
ResourcesChangeInfo
.ThemeChangeInfo);
666
TreeWalkHelper.InvalidateOnResourcesChange(toolTipFO.FE, toolTipFO.FCE,
ResourcesChangeInfo
.ThemeChangeInfo);
1013
ResourcesChangeInfo
.CatastrophicDictionaryChangeInfo);
src\Framework\System\Windows\Generated\FrameworkElement.cs (5)
135
TreeWalkHelper.InvalidateOnResourcesChange(/* fe = */ this, /* fce = */ null,
ResourcesChangeInfo
.ThemeChangeInfo);
425
TreeWalkHelper.OnResourcesChanged(this,
ResourcesChangeInfo
.TreeChangeInfo, false);
671
TreeWalkHelper.InvalidateOnResourcesChange(contextMenu, null,
ResourcesChangeInfo
.ThemeChangeInfo);
686
TreeWalkHelper.InvalidateOnResourcesChange(toolTipFO.FE, toolTipFO.FCE,
ResourcesChangeInfo
.ThemeChangeInfo);
1043
ResourcesChangeInfo
.CatastrophicDictionaryChangeInfo);
src\Framework\System\Windows\ResourceDictionary.cs (4)
715
NotifyOwners(
ResourcesChangeInfo
.CatastrophicDictionaryChangeInfo);
1657
private void NotifyOwners(
ResourcesChangeInfo
info)
1838
ResourcesChangeInfo
info;
1907
info =
ResourcesChangeInfo
.CatastrophicDictionaryChangeInfo;
src\Framework\System\Windows\ResourceReferenceExpression.cs (4)
360
ResourcesChangeInfo
info = args.Info;
576
internal ResourcesChangedEventArgs(
ResourcesChangeInfo
info)
581
internal
ResourcesChangeInfo
Info
586
private
ResourcesChangeInfo
_info;
src\Framework\System\Windows\ResourcesChangeInfo.cs (8)
94
internal static
ResourcesChangeInfo
ThemeChangeInfo
98
ResourcesChangeInfo
info = new ResourcesChangeInfo();
108
internal static
ResourcesChangeInfo
TreeChangeInfo
112
ResourcesChangeInfo
info = new ResourcesChangeInfo();
122
internal static
ResourcesChangeInfo
SysColorsOrSettingsChangeInfo
126
ResourcesChangeInfo
info = new ResourcesChangeInfo();
137
internal static
ResourcesChangeInfo
CatastrophicDictionaryChangeInfo
141
ResourcesChangeInfo
info = new ResourcesChangeInfo();
src\Framework\System\Windows\StyleHelper.cs (2)
4063
ResourcesChangeInfo
info,
4134
ResourcesChangeInfo
info,
src\Framework\System\Windows\SystemResources.cs (2)
1321
TreeWalkHelper.InvalidateOnResourcesChange(fe, null,
ResourcesChangeInfo
.SysColorsOrSettingsChangeInfo);
1325
TreeWalkHelper.InvalidateOnResourcesChange(fe, null,
ResourcesChangeInfo
.ThemeChangeInfo);
src\Framework\System\Windows\TreeWalkHelper.cs (9)
462
ResourcesChangeInfo
info)
484
DescendentsWalker<
ResourcesChangeInfo
> walker = new DescendentsWalker<
ResourcesChangeInfo
>(
503
ResourcesChangeInfo
info,
519
ResourcesChangeInfo
info,
685
ResourcesChangeInfo
info)
747
ResourcesChangeInfo
info,
1306
private static VisitedCallback<
ResourcesChangeInfo
> ResourcesChangeDelegate
1307
= new VisitedCallback<
ResourcesChangeInfo
>(OnResourcesChangedCallback);