I’ve found several articles about implementing expand/collapse in SL3 and SL4 which are in fact workarounds to the missing “Ancestor RelativeSource Binding”. So now SL5 is out and I would like to know how this is done in SL5.
Here is the Answer for SL4:
Expand/Collapse button in a Silverlight DataGrid
With the SL5 RelativeSource it’s easy to do it:
But you will need a
VisibitytoBooleanconverter to make it work: