RelativeBindingSourceMode Enum
Definition
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.
Specifies the mode for resolving a relative binding source.
public enum class RelativeBindingSourceMode
public enum RelativeBindingSourceMode
type RelativeBindingSourceMode =
Public Enum RelativeBindingSourceMode
- Inheritance
-
RelativeBindingSourceMode
Fields
| Name | Value | Description |
|---|---|---|
| TemplatedParent | 1 | Binds to the element that applied the control template containing this binding. |
| Self | 2 | Binds to the element on which the binding is set. |
| FindAncestor | 3 | Binds to an ancestor element of the specified type in the visual tree. |
| FindAncestorBindingContext | 4 | Binds to the binding context of an ancestor element of the specified type. |