61 references to TreeWalkHelper
PresentationFramework (61)
src\Framework\System\Windows\Application.cs (2)
2438
TreeWalkHelper
.InvalidateOnResourcesChange(wc[i], null, 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 (3)
255
TreeWalkHelper
.InvalidateOnTreeChange(this, null, oldValue, false);
278
TreeWalkHelper
.InvalidateOnTreeChange(this, null, newValue, true);
1327
TreeWalkHelper
.InvalidateOnResourcesChange(_popupRoot.Value, null, ResourcesChangeInfo.ThemeChangeInfo);
src\Framework\System\Windows\FrameworkContentElement.cs (9)
318
TreeWalkHelper
.InvalidateOnResourcesChange(null, this, new ResourcesChangeInfo(oldValue, value));
574
if (!
TreeWalkHelper
.SkipNext(InheritanceBehavior) || fmetadata.OverridesInheritanceBehavior == true)
587
inheritanceNode =
TreeWalkHelper
.IsInheritanceNode(parentFE, dp, out inheritanceBehavior);
591
inheritanceNode =
TreeWalkHelper
.IsInheritanceNode(parentFCE, dp, out inheritanceBehavior);
596
if (
TreeWalkHelper
.SkipNow(inheritanceBehavior))
636
if (
TreeWalkHelper
.SkipNext(inheritanceBehavior))
824
TreeWalkHelper
.InvalidateOnInheritablePropertyChange(null, this, info, true);
830
TreeWalkHelper
.OnInheritedPropertyChanged(this, ref info, InheritanceBehavior);
1539
TreeWalkHelper
.InvalidateOnTreeChange(/*fe:*/null, /*fce:*/this, _parent, true);
src\Framework\System\Windows\FrameworkElement.cs (14)
748
TreeWalkHelper
.InvalidateOnResourcesChange(this, null, new ResourcesChangeInfo(oldValue, value));
1352
if (fo.IsValid &&
TreeWalkHelper
.SkipNext(fo.InheritanceBehavior))
1408
if (fo.IsValid &&
TreeWalkHelper
.SkipNow(fo.InheritanceBehavior))
1579
if (fo.IsValid &&
TreeWalkHelper
.SkipNext(fo.InheritanceBehavior))
1593
if (fo.IsValid &&
TreeWalkHelper
.SkipNext(fo.InheritanceBehavior))
1971
if (!
TreeWalkHelper
.SkipNext(InheritanceBehavior) || fmetadata.OverridesInheritanceBehavior == true)
1984
inheritanceNode =
TreeWalkHelper
.IsInheritanceNode(parentFE, dp, out inheritanceBehavior);
1988
inheritanceNode =
TreeWalkHelper
.IsInheritanceNode(parentFCE, dp, out inheritanceBehavior);
1993
if (
TreeWalkHelper
.SkipNow(inheritanceBehavior))
2028
if (
TreeWalkHelper
.SkipNext(inheritanceBehavior))
2194
TreeWalkHelper
.InvalidateOnInheritablePropertyChange(this, null, info, true);
2200
TreeWalkHelper
.OnInheritedPropertyChanged(this, ref info, InheritanceBehavior);
2514
TreeWalkHelper
.InvalidateOnTreeChange(this, null, parent, (newParent != null));
2663
TreeWalkHelper
.InvalidateOnTreeChange(/*fe:*/this, /*fce:*/null, _parent, true);
src\Framework\System\Windows\Generated\FrameworkContentElement.cs (12)
135
TreeWalkHelper
.InvalidateOnResourcesChange(/* fe = */ null, /* fce = */ this, ResourcesChangeInfo.ThemeChangeInfo);
350
TreeWalkHelper
.InvalidateOnTreeChange(/* fe = */ null, /* fce = */ this, parent, (newParent != null));
428
TreeWalkHelper
.OnResourcesChanged(this, ResourcesChangeInfo.TreeChangeInfo, false);
517
if (!
TreeWalkHelper
.SkipNext(InheritanceBehavior) && !
TreeWalkHelper
.SkipNow(parentInheritanceBehavior))
530
return
TreeWalkHelper
.InvalidateTreeDependentProperties(parentTreeState, /* fe = */ null, /* fce = */ this, selfStyle, selfThemeStyle,
651
TreeWalkHelper
.InvalidateOnResourcesChange(contextMenu, null, ResourcesChangeInfo.ThemeChangeInfo);
666
TreeWalkHelper
.InvalidateOnResourcesChange(toolTipFO.FE, toolTipFO.FCE, ResourcesChangeInfo.ThemeChangeInfo);
868
TreeWalkHelper
.InvalidateOnTreeChange(
902
TreeWalkHelper
.InvalidateOnTreeChange(
1001
TreeWalkHelper
.InvalidateOnInheritablePropertyChange(
1010
TreeWalkHelper
.InvalidateOnResourcesChange(
src\Framework\System\Windows\Generated\FrameworkElement.cs (12)
135
TreeWalkHelper
.InvalidateOnResourcesChange(/* fe = */ this, /* fce = */ null, ResourcesChangeInfo.ThemeChangeInfo);
347
TreeWalkHelper
.InvalidateOnTreeChange(/* fe = */ this, /* fce = */ null, parent, (newParent != null));
425
TreeWalkHelper
.OnResourcesChanged(this, ResourcesChangeInfo.TreeChangeInfo, false);
532
if (!
TreeWalkHelper
.SkipNext(InheritanceBehavior) && !
TreeWalkHelper
.SkipNow(parentInheritanceBehavior))
545
return
TreeWalkHelper
.InvalidateTreeDependentProperties(parentTreeState, /* fe = */ this, /* fce = */ null, selfStyle, selfThemeStyle,
671
TreeWalkHelper
.InvalidateOnResourcesChange(contextMenu, null, ResourcesChangeInfo.ThemeChangeInfo);
686
TreeWalkHelper
.InvalidateOnResourcesChange(toolTipFO.FE, toolTipFO.FCE, ResourcesChangeInfo.ThemeChangeInfo);
898
TreeWalkHelper
.InvalidateOnTreeChange(
932
TreeWalkHelper
.InvalidateOnTreeChange(
1031
TreeWalkHelper
.InvalidateOnInheritablePropertyChange(
1040
TreeWalkHelper
.InvalidateOnResourcesChange(
src\Framework\System\Windows\ResourceDictionary.cs (2)
1684
TreeWalkHelper
.InvalidateOnResourcesChange(fe, null, info);
1704
TreeWalkHelper
.InvalidateOnResourcesChange(null, fce, info);
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));
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\TreeChangeInfo.cs (1)
125
if (!
TreeWalkHelper
.SkipNow(foParent.InheritanceBehavior) || fMetadata.OverridesInheritanceBehavior)