63 references to InheritanceBehavior
PresentationFramework (63)
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 (8)
566internal InheritanceBehavior InheritanceBehavior 580return InheritanceBehavior.Default; 859InheritanceBehavior inheritanceBehavior = force ? InheritanceBehavior.Default : this.InheritanceBehavior; 860if (inheritanceBehavior != InheritanceBehavior.Default) 870case InheritanceBehavior.SkipToAppNow: 871case InheritanceBehavior.SkipToThemeNow: 872case InheritanceBehavior.SkipAllNow:
src\Framework\System\Windows\Controls\Frame.cs (1)
166InheritanceBehavior = InheritanceBehavior.SkipToAppNow;
src\Framework\System\Windows\Controls\Page.cs (1)
791if ((feParent != null) && (feParent.InheritanceBehavior == InheritanceBehavior.Default))
src\Framework\System\Windows\Documents\DocumentReference.cs (1)
262this.InheritanceBehavior = InheritanceBehavior.SkipToAppNow;
src\Framework\System\Windows\Documents\FixedPage.cs (1)
1030this.InheritanceBehavior = InheritanceBehavior.SkipAllNext;
src\Framework\System\Windows\Documents\PageContent.cs (1)
501InheritanceBehavior = InheritanceBehavior.SkipToAppNow;
src\Framework\System\Windows\FrameworkContentElement.cs (6)
577InheritanceBehavior inheritanceBehavior; 787if ((InheritanceBehavior == InheritanceBehavior.Default || fmetadata.OverridesInheritanceBehavior) && 1489internal InheritanceBehavior InheritanceBehavior 1503return (InheritanceBehavior)inheritanceBehavior; 1520(uint)value > (uint)InheritanceBehavior.SkipAllNext) 1522throw new InvalidEnumArgumentException("value", (int)value, typeof(InheritanceBehavior));
src\Framework\System\Windows\FrameworkElement.cs (16)
1047InheritanceBehavior inheritanceBehavior = InheritanceBehavior.Default; 1078(inheritanceBehavior == InheritanceBehavior.Default || 1079inheritanceBehavior == InheritanceBehavior.SkipToAppNow || 1080inheritanceBehavior == InheritanceBehavior.SkipToAppNext)) 1102inheritanceBehavior != InheritanceBehavior.SkipAllNow && 1103inheritanceBehavior != InheritanceBehavior.SkipAllNext) 1172out InheritanceBehavior inheritanceBehavior, 1183inheritanceBehavior = InheritanceBehavior.Default; 1974InheritanceBehavior inheritanceBehavior = InheritanceBehavior.Default; 2157if ((InheritanceBehavior == InheritanceBehavior.Default || fmetadata.OverridesInheritanceBehavior) && 2613protected internal InheritanceBehavior InheritanceBehavior 2627return (InheritanceBehavior)inheritanceBehavior; 2644(uint)value > (uint)InheritanceBehavior.SkipAllNext) 2646throw new InvalidEnumArgumentException("value", (int)value, typeof(InheritanceBehavior));
src\Framework\System\Windows\Generated\FrameworkContentElement.cs (2)
502InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default;
src\Framework\System\Windows\Generated\FrameworkElement.cs (2)
517InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default;
src\Framework\System\Windows\TreeWalkHelper.cs (23)
950InheritanceBehavior inheritanceBehavior; 967InheritanceBehavior parentInheritanceBehavior = InheritanceBehavior.Default; 1097return (inheritanceBehavior == InheritanceBehavior.Default || isForceInheritedProperty); 1104InheritanceBehavior inheritanceBehavior) 1106if (inheritanceBehavior == InheritanceBehavior.Default || IsForceInheritedProperty(info.Property)) 1123out InheritanceBehavior inheritanceBehavior) 1126inheritanceBehavior = InheritanceBehavior.Default; 1144if (fo.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1175out InheritanceBehavior inheritanceBehavior) 1178inheritanceBehavior = InheritanceBehavior.Default; 1186if (fe.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1206out InheritanceBehavior inheritanceBehavior) 1209inheritanceBehavior = InheritanceBehavior.Default; 1217if (fce.InheritanceBehavior != InheritanceBehavior.Default && !metadata.OverridesInheritanceBehavior) 1234internal static bool SkipNow(InheritanceBehavior inheritanceBehavior) 1236if (inheritanceBehavior == InheritanceBehavior.SkipToAppNow || 1237inheritanceBehavior == InheritanceBehavior.SkipToThemeNow || 1238inheritanceBehavior == InheritanceBehavior.SkipAllNow) 1249internal static bool SkipNext(InheritanceBehavior inheritanceBehavior) 1251if (inheritanceBehavior == InheritanceBehavior.SkipToAppNext || 1252inheritanceBehavior == InheritanceBehavior.SkipToThemeNext || 1253inheritanceBehavior == InheritanceBehavior.SkipAllNext)