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