InheritanceBehavior Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 class InheritanceBehavior
public enum InheritanceBehavior
type InheritanceBehavior =
Public Enum InheritanceBehavior
- Inheritance
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. |
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 |
.NET-feedback
.NET is een open source project. Selecteer een koppeling om feedback te geven: