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

Member nameDescription
Default

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

SkipAllNext

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

SkipAllNow

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

SkipToAppNext

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

SkipToAppNow

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

SkipToThemeNext

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

SkipToThemeNow

Property value inheritance 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
Available since 3.0
Return to top
Show: