22 references to Default
PresentationFramework (22)
src\Framework\MS\Internal\Data\ObjectRef.cs (1)
243if (cc != null && cc.Content == fo.DO && cc.InheritanceBehavior == InheritanceBehavior.Default)
src\Framework\MS\Internal\FrameworkObject.cs (3)
580return InheritanceBehavior.Default; 859InheritanceBehavior inheritanceBehavior = force ? InheritanceBehavior.Default : this.InheritanceBehavior; 860if (inheritanceBehavior != InheritanceBehavior.Default)
src\Framework\System\Windows\Controls\Page.cs (1)
791if ((feParent != null) && (feParent.InheritanceBehavior == InheritanceBehavior.Default))
src\Framework\System\Windows\FrameworkContentElement.cs (1)
787if ((InheritanceBehavior == InheritanceBehavior.Default || fmetadata.OverridesInheritanceBehavior) &&
src\Framework\System\Windows\FrameworkElement.cs (5)
1047InheritanceBehavior inheritanceBehavior = InheritanceBehavior.Default; 1078(inheritanceBehavior == InheritanceBehavior.Default || 1183inheritanceBehavior = InheritanceBehavior.Default; 1974InheritanceBehavior inheritanceBehavior = InheritanceBehavior.Default; 2157if ((InheritanceBehavior == InheritanceBehavior.Default || fmetadata.OverridesInheritanceBehavior) &&
src\Framework\System\Windows\Generated\FrameworkContentElement.cs (1)
502InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default;
src\Framework\System\Windows\Generated\FrameworkElement.cs (1)
517InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default;
src\Framework\System\Windows\TreeWalkHelper.cs (9)
967InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default; 1097return (inheritanceBehavior == InheritanceBehavior.Default || isForceInheritedProperty); 1106if (inheritanceBehavior == InheritanceBehavior.Default || IsForceInheritedProperty(info.Property)) 1126inheritanceBehavior = InheritanceBehavior.Default; 1144if (fo.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1178inheritanceBehavior = InheritanceBehavior.Default; 1186if (fe.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1209inheritanceBehavior = InheritanceBehavior.Default; 1217if (fce.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior)