What are the different ways of binding using relative source?


There are four ways of binding relatively in WPF :-

  • Self
  • Ancestor
  • Previousdata
  • Templated parent