63 references to InheritanceBehavior
PresentationFramework (63)
MS\Internal\Data\ObjectRef.cs (1)
232
if (cc != null && cc.Content == fo.DO && cc.InheritanceBehavior ==
InheritanceBehavior
.Default)
MS\Internal\FrameworkObject.cs (8)
534
internal
InheritanceBehavior
InheritanceBehavior
548
return
InheritanceBehavior
.Default;
827
InheritanceBehavior
inheritanceBehavior = force ?
InheritanceBehavior
.Default : this.InheritanceBehavior;
828
if (inheritanceBehavior !=
InheritanceBehavior
.Default)
838
case
InheritanceBehavior
.SkipToAppNow:
839
case
InheritanceBehavior
.SkipToThemeNow:
840
case
InheritanceBehavior
.SkipAllNow:
System\Windows\Controls\Frame.cs (1)
146
InheritanceBehavior =
InheritanceBehavior
.SkipToAppNow;
System\Windows\Controls\Page.cs (1)
758
if ((feParent != null) && (feParent.InheritanceBehavior ==
InheritanceBehavior
.Default))
System\Windows\Documents\DocumentReference.cs (1)
244
this.InheritanceBehavior =
InheritanceBehavior
.SkipToAppNow;
System\Windows\Documents\FixedPage.cs (1)
992
this.InheritanceBehavior =
InheritanceBehavior
.SkipAllNext;
System\Windows\Documents\PageContent.cs (1)
467
InheritanceBehavior =
InheritanceBehavior
.SkipToAppNow;
System\Windows\FrameworkContentElement.cs (6)
546
InheritanceBehavior
inheritanceBehavior;
758
if ((InheritanceBehavior ==
InheritanceBehavior
.Default || fmetadata.OverridesInheritanceBehavior) &&
1457
internal
InheritanceBehavior
InheritanceBehavior
1471
return (
InheritanceBehavior
)inheritanceBehavior;
1488
(uint)value > (uint)
InheritanceBehavior
.SkipAllNext)
1490
throw new InvalidEnumArgumentException("value", (int)value, typeof(
InheritanceBehavior
));
System\Windows\FrameworkElement.cs (16)
1026
InheritanceBehavior
inheritanceBehavior =
InheritanceBehavior
.Default;
1057
(inheritanceBehavior ==
InheritanceBehavior
.Default ||
1058
inheritanceBehavior ==
InheritanceBehavior
.SkipToAppNow ||
1059
inheritanceBehavior ==
InheritanceBehavior
.SkipToAppNext))
1081
inheritanceBehavior !=
InheritanceBehavior
.SkipAllNow &&
1082
inheritanceBehavior !=
InheritanceBehavior
.SkipAllNext)
1151
out
InheritanceBehavior
inheritanceBehavior,
1162
inheritanceBehavior =
InheritanceBehavior
.Default;
1953
InheritanceBehavior
inheritanceBehavior =
InheritanceBehavior
.Default;
2138
if ((InheritanceBehavior ==
InheritanceBehavior
.Default || fmetadata.OverridesInheritanceBehavior) &&
2595
protected internal
InheritanceBehavior
InheritanceBehavior
2609
return (
InheritanceBehavior
)inheritanceBehavior;
2626
(uint)value > (uint)
InheritanceBehavior
.SkipAllNext)
2628
throw new InvalidEnumArgumentException("value", (int)value, typeof(
InheritanceBehavior
));
System\Windows\Generated\FrameworkContentElement.cs (2)
482
InheritanceBehavior
parentInheritanceBehavior =
InheritanceBehavior
.Default;
System\Windows\Generated\FrameworkElement.cs (2)
497
InheritanceBehavior
parentInheritanceBehavior =
InheritanceBehavior
.Default;
System\Windows\TreeWalkHelper.cs (23)
947
InheritanceBehavior
inheritanceBehavior;
964
InheritanceBehavior
parentInheritanceBehavior =
InheritanceBehavior
.Default;
1094
return (inheritanceBehavior ==
InheritanceBehavior
.Default || isForceInheritedProperty);
1101
InheritanceBehavior
inheritanceBehavior)
1103
if (inheritanceBehavior ==
InheritanceBehavior
.Default || IsForceInheritedProperty(info.Property))
1120
out
InheritanceBehavior
inheritanceBehavior)
1123
inheritanceBehavior =
InheritanceBehavior
.Default;
1141
if (fo.InheritanceBehavior !=
InheritanceBehavior
.Default && !metadata.OverridesInheritanceBehavior)
1172
out
InheritanceBehavior
inheritanceBehavior)
1175
inheritanceBehavior =
InheritanceBehavior
.Default;
1183
if (fe.InheritanceBehavior !=
InheritanceBehavior
.Default && !metadata.OverridesInheritanceBehavior)
1203
out
InheritanceBehavior
inheritanceBehavior)
1206
inheritanceBehavior =
InheritanceBehavior
.Default;
1214
if (fce.InheritanceBehavior !=
InheritanceBehavior
.Default && !metadata.OverridesInheritanceBehavior)
1231
internal static bool SkipNow(
InheritanceBehavior
inheritanceBehavior)
1233
if (inheritanceBehavior ==
InheritanceBehavior
.SkipToAppNow ||
1234
inheritanceBehavior ==
InheritanceBehavior
.SkipToThemeNow ||
1235
inheritanceBehavior ==
InheritanceBehavior
.SkipAllNow)
1246
internal static bool SkipNext(
InheritanceBehavior
inheritanceBehavior)
1248
if (inheritanceBehavior ==
InheritanceBehavior
.SkipToAppNext ||
1249
inheritanceBehavior ==
InheritanceBehavior
.SkipToThemeNext ||
1250
inheritanceBehavior ==
InheritanceBehavior
.SkipAllNext)