63 references to InheritanceBehavior
PresentationFramework (63)
MS\Internal\Data\ObjectRef.cs (1)
233if (cc != null && cc.Content == fo.DO && cc.InheritanceBehavior == InheritanceBehavior.Default)
MS\Internal\FrameworkObject.cs (8)
535internal InheritanceBehavior InheritanceBehavior 549return InheritanceBehavior.Default; 828InheritanceBehavior inheritanceBehavior = force ? InheritanceBehavior.Default : this.InheritanceBehavior; 829if (inheritanceBehavior != InheritanceBehavior.Default) 839case InheritanceBehavior.SkipToAppNow: 840case InheritanceBehavior.SkipToThemeNow: 841case InheritanceBehavior.SkipAllNow:
System\Windows\Controls\Frame.cs (1)
147InheritanceBehavior = InheritanceBehavior.SkipToAppNow;
System\Windows\Controls\Page.cs (1)
762if ((feParent != null) && (feParent.InheritanceBehavior == InheritanceBehavior.Default))
System\Windows\Documents\DocumentReference.cs (1)
246this.InheritanceBehavior = InheritanceBehavior.SkipToAppNow;
System\Windows\Documents\FixedPage.cs (1)
993this.InheritanceBehavior = InheritanceBehavior.SkipAllNext;
System\Windows\Documents\PageContent.cs (1)
471InheritanceBehavior = InheritanceBehavior.SkipToAppNow;
System\Windows\FrameworkContentElement.cs (6)
550InheritanceBehavior inheritanceBehavior; 762if ((InheritanceBehavior == InheritanceBehavior.Default || fmetadata.OverridesInheritanceBehavior) && 1461internal InheritanceBehavior InheritanceBehavior 1475return (InheritanceBehavior)inheritanceBehavior; 1492(uint)value > (uint)InheritanceBehavior.SkipAllNext) 1494throw new InvalidEnumArgumentException("value", (int)value, typeof(InheritanceBehavior));
System\Windows\FrameworkElement.cs (16)
1030InheritanceBehavior inheritanceBehavior = InheritanceBehavior.Default; 1061(inheritanceBehavior == InheritanceBehavior.Default || 1062inheritanceBehavior == InheritanceBehavior.SkipToAppNow || 1063inheritanceBehavior == InheritanceBehavior.SkipToAppNext)) 1085inheritanceBehavior != InheritanceBehavior.SkipAllNow && 1086inheritanceBehavior != InheritanceBehavior.SkipAllNext) 1155out InheritanceBehavior inheritanceBehavior, 1166inheritanceBehavior = InheritanceBehavior.Default; 1957InheritanceBehavior inheritanceBehavior = InheritanceBehavior.Default; 2142if ((InheritanceBehavior == InheritanceBehavior.Default || fmetadata.OverridesInheritanceBehavior) && 2599protected internal InheritanceBehavior InheritanceBehavior 2613return (InheritanceBehavior)inheritanceBehavior; 2630(uint)value > (uint)InheritanceBehavior.SkipAllNext) 2632throw new InvalidEnumArgumentException("value", (int)value, typeof(InheritanceBehavior));
System\Windows\Generated\FrameworkContentElement.cs (2)
484InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default;
System\Windows\Generated\FrameworkElement.cs (2)
500InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default;
System\Windows\TreeWalkHelper.cs (23)
951InheritanceBehavior inheritanceBehavior; 968InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default; 1098return (inheritanceBehavior == InheritanceBehavior.Default || isForceInheritedProperty); 1105InheritanceBehavior inheritanceBehavior) 1107if (inheritanceBehavior == InheritanceBehavior.Default || IsForceInheritedProperty(info.Property)) 1124out InheritanceBehavior inheritanceBehavior) 1127inheritanceBehavior = InheritanceBehavior.Default; 1145if (fo.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1176out InheritanceBehavior inheritanceBehavior) 1179inheritanceBehavior = InheritanceBehavior.Default; 1187if (fe.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1207out InheritanceBehavior inheritanceBehavior) 1210inheritanceBehavior = InheritanceBehavior.Default; 1218if (fce.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1235internal static bool SkipNow(InheritanceBehavior inheritanceBehavior) 1237if (inheritanceBehavior == InheritanceBehavior.SkipToAppNow || 1238inheritanceBehavior == InheritanceBehavior.SkipToThemeNow || 1239inheritanceBehavior == InheritanceBehavior.SkipAllNow) 1250internal static bool SkipNext(InheritanceBehavior inheritanceBehavior) 1252if (inheritanceBehavior == InheritanceBehavior.SkipToAppNext || 1253inheritanceBehavior == InheritanceBehavior.SkipToThemeNext || 1254inheritanceBehavior == InheritanceBehavior.SkipAllNext)