RelativeBindingSourceMode Enum

Definition

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.

Applies to