Hi,
I have some DataTemplates (defined in different xaml files loaded at runtime) and I have to search (and retrieve) all BindingGroups used.
the problem is that I need to search them by type because the templates change every time.
<DataTemplate><DataTemplate.Resources><BindingGroup Name="BindingGroup1" > ....</BindingGroup><DataTemplate.Resources><ScrollViewer><StackPanel Orientation="Horizontal"><Grid><Grid.BindingGroup><BindingGroup Name="BindingGroup2" > ....</BindingGroup></Grid.BindingGroup> </Grid><Grid><Grid.BindingGroup><BindingGroup Name="BindingGroup3" > ....</BindingGroup></Grid.BindingGroup> </Grid><StackPanel></ScrollViewer></DataTemplate>
Any suggestions?
Daniele.