bind Selected item from Collection by combobox and bind it to image
<p>How can i bind Selected item from Collection by combobox and bind it to image?</p>

<pre><code>public class ElectrodePlacementScheme
{
    public BitmapImage Image { private set; get; }
    public String Name { private set; get; }

    public ElectrodePlacementScheme(BitmapImage image, String name)
    {
        Image = image;
        Name = name;
    }
}
</code></pre>

<p>User Control: here i init collection by pairs of name and image</p>

<pre><code>public partial class CheckECGUC : UserControl
{
    public ObservableCollection&lt;ElectrodePlacementScheme&gt; ElectrodePlacementSchemes { get; set; }

    public CheckECGUC()
    {
        InitializeComponent();

        ElectrodePlacementSchemes = new ObservableCollection&lt;ElectrodePlacementScheme&gt;();
        ElectrodePlacementSchemes.Add(new ElectrodePlacementScheme(new BitmapImage(new System.Uri(@"pack://application:,,,/Images/3CH_7Leads_Option1.png")), "Option 1"));
        ElectrodePlacementSchemes.Add(new ElectrodePlacementScheme(new BitmapImage(new System.Uri(@"pack://application:,,,/Images/3CH_7Leads_Option2.png")), "Option 2"));
    }
}
</code></pre>

<p>xaml: here i try bind image to combobox</p>

<pre><code>&lt;ComboBox x:Name="optionSelector" ItemsSource="{Binding ElectrodePlacementSchemes}" DisplayMemberPath="Name"/&gt;
    &lt;Image Source="{Binding Path=optionSelector, ElementName=SelectedItem}"/&gt;
&lt;/ComboBox&gt;
</code></pre>

<p>i see on combobox items: option 1, option 2 but it can not reflected on image: image do not change</p>

<p>Thanks</p>