Lezen in het Engels Bewerken

Delen via


InheritanceBehavior Enum

Definition

Indicates the current mode of lookup for property value inheritance, resource lookup, and RelativeSource FindAncestor lookup. A RelativeSource FindAncestor lookup occurs when a binding uses a RelativeSource that has its Mode property set to the FindAncestor value.

public enum InheritanceBehavior
Inheritance
InheritanceBehavior

Fields

Name Value Description
Default 0

Property 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.

SkipToAppNow 1

Property 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.

SkipToAppNext 2

Property 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.

SkipToThemeNow 3

Property 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.

SkipToThemeNext 4

Property 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.

SkipAllNow 5

Property value inheritance lookup, resource lookup, or RelativeSource FindAncestor lookup will not query the current element or any further.

SkipAllNext 6

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

Applies to

Product Versies
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9