Is there a way to have another binding as a fallback value?
I’m trying to do something like this:
<Label Content="{Binding SelectedItem.Name, ElementName=groupTreeView,
FallbackValue={Binding RootGroup.Name}}" />
If anyone’s got another trick to pull it off, that would be great.
What you are looking for is something called PriorityBinding (#6 on this list)
(from the article)
e.g.