Enum RelativeSourceMode
Defines the mode of a RelativeSource object.
public enum RelativeSourceMode
Fields
DataContext = 0
The binding will be to the control's data context.
FindAncestor = 3
The binding will be to an ancestor of the control in the visual tree.
Self = 2
The binding will be to the control itself.
TemplatedParent = 1
The binding will be to the control's templated parent.