Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InheritanceBehavior Enumeration

Indicates the current mode of lookup for both property value inheritance, a resource lookup, and a RelativeSource FindAncestor lookup.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public enum InheritanceBehavior
<object property="enumerationMemberName" .../>

Member nameDescription
DefaultProperty value inheritance lookup will query the current element and continue walking up the element tree to the page root.

A resource lookup will query through the current element and further.

SkipAllNextProperty value inheritance lookup will query the current element but not any further.

A resource lookup will query the current element but not any further.

SkipAllNowProperty value inheritance lookup will not query the current element or any further.

A resource lookup will not query the current element or any further. A RelativeSource FindAncestor lookup will not query the current element or any further.

SkipToAppNextProperty value inheritance lookup will query the current element but not any further.

A resource lookup will query the current element and will then skip over to the application and theme dictionaries, rather than walking up the element tree toward the page root.

SkipToAppNowProperty value inheritance lookup will not query the current element or any further.

A resource lookup will not query the current element but will skip over to the application and then the theme dictionaries, rather than walking up the element tree toward the page root. A RelativeSource FindAncestor lookup will not query the current element or any further.

SkipToThemeNextProperty value inheritance lookup will query the current element but not any further.

A resource lookup will query the current element and will then skip over to the theme dictionaries, rather than walking up the element tree toward the page root, or checking application dictionaries.

SkipToThemeNowProperty value inheritance lookup will not query the current element or any further.

A resource lookup will not query the current element but will skip over to the theme dictionaries, rather than walking up the element tree toward the page root, or checking application dictionaries. A RelativeSource FindAncestor lookup will not query the current element or any further.

A RelativeSource FindAncestor lookup occurs when a binding uses a RelativeSource that has its Mode property set to the RelativeSourceMode.FindAncestor value.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft