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