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