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