63 references to InheritanceBehavior
PresentationFramework (63)
MS\Internal\Data\ObjectRef.cs (1)
239if (cc != null && cc.Content == fo.DO && cc.InheritanceBehavior == InheritanceBehavior.Default)
MS\Internal\FrameworkObject.cs (8)
538internal InheritanceBehavior InheritanceBehavior 552return InheritanceBehavior.Default; 831InheritanceBehavior inheritanceBehavior = force ? InheritanceBehavior.Default : this.InheritanceBehavior; 832if (inheritanceBehavior != InheritanceBehavior.Default) 842case InheritanceBehavior.SkipToAppNow: 843case InheritanceBehavior.SkipToThemeNow: 844case InheritanceBehavior.SkipAllNow:
System\Windows\Controls\Frame.cs (1)
159InheritanceBehavior = InheritanceBehavior.SkipToAppNow;
System\Windows\Controls\Page.cs (1)
782if ((feParent != null) && (feParent.InheritanceBehavior == InheritanceBehavior.Default))
System\Windows\Documents\DocumentReference.cs (1)
259this.InheritanceBehavior = InheritanceBehavior.SkipToAppNow;
System\Windows\Documents\FixedPage.cs (1)
999this.InheritanceBehavior = InheritanceBehavior.SkipAllNext;
System\Windows\Documents\PageContent.cs (1)
485InheritanceBehavior = InheritanceBehavior.SkipToAppNow;
System\Windows\FrameworkContentElement.cs (6)
571InheritanceBehavior inheritanceBehavior; 781if ((InheritanceBehavior == InheritanceBehavior.Default || fmetadata.OverridesInheritanceBehavior) && 1478internal InheritanceBehavior InheritanceBehavior 1492return (InheritanceBehavior)inheritanceBehavior; 1509(uint)value > (uint)InheritanceBehavior.SkipAllNext) 1511throw new InvalidEnumArgumentException("value", (int)value, typeof(InheritanceBehavior));
System\Windows\FrameworkElement.cs (16)
1048InheritanceBehavior inheritanceBehavior = InheritanceBehavior.Default; 1079(inheritanceBehavior == InheritanceBehavior.Default || 1080inheritanceBehavior == InheritanceBehavior.SkipToAppNow || 1081inheritanceBehavior == InheritanceBehavior.SkipToAppNext)) 1103inheritanceBehavior != InheritanceBehavior.SkipAllNow && 1104inheritanceBehavior != InheritanceBehavior.SkipAllNext) 1173out InheritanceBehavior inheritanceBehavior, 1184inheritanceBehavior = InheritanceBehavior.Default; 1975InheritanceBehavior inheritanceBehavior = InheritanceBehavior.Default; 2158if ((InheritanceBehavior == InheritanceBehavior.Default || fmetadata.OverridesInheritanceBehavior) && 2615protected internal InheritanceBehavior InheritanceBehavior 2629return (InheritanceBehavior)inheritanceBehavior; 2646(uint)value > (uint)InheritanceBehavior.SkipAllNext) 2648throw new InvalidEnumArgumentException("value", (int)value, typeof(InheritanceBehavior));
System\Windows\Generated\FrameworkContentElement.cs (2)
490InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default;
System\Windows\Generated\FrameworkElement.cs (2)
506InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default;
System\Windows\TreeWalkHelper.cs (23)
955InheritanceBehavior inheritanceBehavior; 972InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default; 1102return (inheritanceBehavior == InheritanceBehavior.Default || isForceInheritedProperty); 1109InheritanceBehavior inheritanceBehavior) 1111if (inheritanceBehavior == InheritanceBehavior.Default || IsForceInheritedProperty(info.Property)) 1128out InheritanceBehavior inheritanceBehavior) 1131inheritanceBehavior = InheritanceBehavior.Default; 1149if (fo.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1180out InheritanceBehavior inheritanceBehavior) 1183inheritanceBehavior = InheritanceBehavior.Default; 1191if (fe.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1211out InheritanceBehavior inheritanceBehavior) 1214inheritanceBehavior = InheritanceBehavior.Default; 1222if (fce.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1239internal static bool SkipNow(InheritanceBehavior inheritanceBehavior) 1241if (inheritanceBehavior == InheritanceBehavior.SkipToAppNow || 1242inheritanceBehavior == InheritanceBehavior.SkipToThemeNow || 1243inheritanceBehavior == InheritanceBehavior.SkipAllNow) 1254internal static bool SkipNext(InheritanceBehavior inheritanceBehavior) 1256if (inheritanceBehavior == InheritanceBehavior.SkipToAppNext || 1257inheritanceBehavior == InheritanceBehavior.SkipToThemeNext || 1258inheritanceBehavior == InheritanceBehavior.SkipAllNext)