14 references to InheritanceBehavior
PresentationFramework (14)
src\Framework\MS\Internal\FrameworkObject.cs (2)
859InheritanceBehavior inheritanceBehavior = force ? InheritanceBehavior.Default : this.InheritanceBehavior; 868switch (parent.InheritanceBehavior)
src\Framework\System\Windows\FrameworkElement.cs (6)
1352if (fo.IsValid && TreeWalkHelper.SkipNext(fo.InheritanceBehavior)) 1354inheritanceBehavior = fo.InheritanceBehavior; 1408if (fo.IsValid && TreeWalkHelper.SkipNow(fo.InheritanceBehavior)) 1410inheritanceBehavior = fo.InheritanceBehavior; 1579if (fo.IsValid && TreeWalkHelper.SkipNext(fo.InheritanceBehavior)) 1593if (fo.IsValid && TreeWalkHelper.SkipNext(fo.InheritanceBehavior))
src\Framework\System\Windows\TreeChangeInfo.cs (1)
125if (!TreeWalkHelper.SkipNow(foParent.InheritanceBehavior) || fMetadata.OverridesInheritanceBehavior)
src\Framework\System\Windows\TreeWalkHelper.cs (5)
297if (!SkipNow(fo.InheritanceBehavior) || fMetadata.OverridesInheritanceBehavior) 338if (!SkipNext(fo.InheritanceBehavior) || fMetadata.OverridesInheritanceBehavior) 972parentInheritanceBehavior = parentFO.InheritanceBehavior; 1144if (fo.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1147inheritanceBehavior = fo.InheritanceBehavior;