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