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)
759
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)
468
InheritanceBehavior =
InheritanceBehavior
.SkipToAppNow;
System\Windows\FrameworkContentElement.cs (6)
547
InheritanceBehavior
inheritanceBehavior;
759
if ((InheritanceBehavior ==
InheritanceBehavior
.Default || fmetadata.OverridesInheritanceBehavior) &&
1458
internal
InheritanceBehavior
InheritanceBehavior
1472
return (
InheritanceBehavior
)inheritanceBehavior;
1489
(uint)value > (uint)
InheritanceBehavior
.SkipAllNext)
1491
throw new InvalidEnumArgumentException("value", (int)value, typeof(
InheritanceBehavior
));
System\Windows\FrameworkElement.cs (16)
1027
InheritanceBehavior
inheritanceBehavior =
InheritanceBehavior
.Default;
1058
(inheritanceBehavior ==
InheritanceBehavior
.Default ||
1059
inheritanceBehavior ==
InheritanceBehavior
.SkipToAppNow ||
1060
inheritanceBehavior ==
InheritanceBehavior
.SkipToAppNext))
1082
inheritanceBehavior !=
InheritanceBehavior
.SkipAllNow &&
1083
inheritanceBehavior !=
InheritanceBehavior
.SkipAllNext)
1152
out
InheritanceBehavior
inheritanceBehavior,
1163
inheritanceBehavior =
InheritanceBehavior
.Default;
1954
InheritanceBehavior
inheritanceBehavior =
InheritanceBehavior
.Default;
2139
if ((InheritanceBehavior ==
InheritanceBehavior
.Default || fmetadata.OverridesInheritanceBehavior) &&
2596
protected internal
InheritanceBehavior
InheritanceBehavior
2610
return (
InheritanceBehavior
)inheritanceBehavior;
2627
(uint)value > (uint)
InheritanceBehavior
.SkipAllNext)
2629
throw new InvalidEnumArgumentException("value", (int)value, typeof(
InheritanceBehavior
));
System\Windows\Generated\FrameworkContentElement.cs (2)
483
InheritanceBehavior
parentInheritanceBehavior =
InheritanceBehavior
.Default;
System\Windows\Generated\FrameworkElement.cs (2)
498
InheritanceBehavior
parentInheritanceBehavior =
InheritanceBehavior
.Default;
System\Windows\TreeWalkHelper.cs (23)
948
InheritanceBehavior
inheritanceBehavior;
965
InheritanceBehavior
parentInheritanceBehavior =
InheritanceBehavior
.Default;
1095
return (inheritanceBehavior ==
InheritanceBehavior
.Default || isForceInheritedProperty);
1102
InheritanceBehavior
inheritanceBehavior)
1104
if (inheritanceBehavior ==
InheritanceBehavior
.Default || IsForceInheritedProperty(info.Property))
1121
out
InheritanceBehavior
inheritanceBehavior)
1124
inheritanceBehavior =
InheritanceBehavior
.Default;
1142
if (fo.InheritanceBehavior !=
InheritanceBehavior
.Default && !metadata.OverridesInheritanceBehavior)
1173
out
InheritanceBehavior
inheritanceBehavior)
1176
inheritanceBehavior =
InheritanceBehavior
.Default;
1184
if (fe.InheritanceBehavior !=
InheritanceBehavior
.Default && !metadata.OverridesInheritanceBehavior)
1204
out
InheritanceBehavior
inheritanceBehavior)
1207
inheritanceBehavior =
InheritanceBehavior
.Default;
1215
if (fce.InheritanceBehavior !=
InheritanceBehavior
.Default && !metadata.OverridesInheritanceBehavior)
1232
internal static bool SkipNow(
InheritanceBehavior
inheritanceBehavior)
1234
if (inheritanceBehavior ==
InheritanceBehavior
.SkipToAppNow ||
1235
inheritanceBehavior ==
InheritanceBehavior
.SkipToThemeNow ||
1236
inheritanceBehavior ==
InheritanceBehavior
.SkipAllNow)
1247
internal static bool SkipNext(
InheritanceBehavior
inheritanceBehavior)
1249
if (inheritanceBehavior ==
InheritanceBehavior
.SkipToAppNext ||
1250
inheritanceBehavior ==
InheritanceBehavior
.SkipToThemeNext ||
1251
inheritanceBehavior ==
InheritanceBehavior
.SkipAllNext)