Another way to specify a data source is by using Binding’s RelativeSource property, which refers to an element by its relationship to the target element. The property is of type RelativeSource, which also happens to be a markup extension. Here are some of the ways RelativeSource can be used: Self, TemplatedParent, (nth)FindAncestor, PreviousData , etc. RelativeSource MarkupExtension