Enum RelativeSourceMode
This enum describes the type of RelativeSource
public enum RelativeSourceMode
Fields
FindAncestor = 3use the target element's ancestor of a specified Type
PreviousData = 0use the DataContext from the previous scope
Self = 2use the target element itself
TemplatedParent = 1use the target element's styled parent