Andrew Arnott - MSFT

I have a UserControl whose DataContext is set to CLR object of type A.

class A {

List<Person> people;

List<B> collection;

}

class B {

Person person;

string somethingInteresting;

}

My UserControl has a detail view (no master list) and previous/next buttons to flip through A.collection. The idea is that the controls in my UserControl are bound to the properties of B objects.

I have a ComboBox control in my UserControl. It should get its list from A.people, but bind to B.person (where B is the currently selected object in A.collection).

In my UserControl I have:

<ContentControl

Content="{Binding Path=collection}"

ContentTemplate="{StaticResource myTemplate}"

x:Name="cc"

/>

<DataTemplate x:Key="CompositeClueTemplate">

<StackPanel Orientation="Vertical">

<TextBlock TextWrapping="Wrap">Who </TextBlock>

<ComboBox Height="26" x:Name="whoBox" SelectedValuePath="person" ItemsSource="{Binding Path=collection}"

/>

</StackPanel>

</DataTemplate>

Can someone guide me as to how to reach out into the datasource of the ContentControl or UserControl's DataContext for the item list, but stay in the currently selected item for the SelectedValuePath

Thanks.