Charles Petzold



RelativeSource Demo

April 10, 2006
New York City

I couldn't find any good examples of using RelativeSource in a Binding, so here's a RelativeSourceDemo.xaml file that has three of them. The file is also listed here:

It's not very exciting, but at least it works with the February CTP. Notice the comma in front of AncestorLevel, which doesn't appear in the documentation.