Expand Minimize
This topic has not yet been rated - Rate this topic

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.

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.

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.

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.

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.

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.

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.

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.