title: Cannot bind ObservableCollection to List dp from xaml
body: <p>I have a userControl named Switch which has a DependancyProperty of type List, named ImageList.
  In my ViewModel, I create a ObservableCollection named imgList.
  In My XAML window, I write the following line:</p>
  
  <pre><code>&lt;loc:switch ImageList={Binding imgList}/&gt;
  </code></pre>
  
  <p>To my greatest regret, this does not work at all and ImageList does not recieve the requested values.</p>
  
  <p>ImageList is defined as the following:</p>
  
  <pre><code>public static readonly DependancyProperty ImageListProperty = DependancyProperty.Register
    ("ImageList", typeof(List&lt;ImageSource&gt;), typeof(Switch));
  
  public List&lt;ImageSource&gt; ImageList {
    get { return (List&lt;ImageSource&gt;)GetValue(ImageListProperty); }
    set { SetValue(ImageListProperty, value); }
  }
  </code></pre>
  
  <p>The viewModel is correct, as the following works:</p>
  
  <pre><code>&lt;ComboBox ItemsSource={Binding imgList}/&gt;
  </code></pre>
  
  <p>It is interesting to note that this works correctly:</p>
  
  <pre><code>&lt;loc:switch&gt;
    &lt;loc:switch.ImageList&gt;
      &lt;BitmapImage UriSource="Bla.png"/&gt;
      &lt;BitmapImage UriSource="Bla2.png"/&gt;
    &lt;/loc:switch.ImageList&gt;
  &lt;/loc:switch&gt;
  </code></pre>
  
  <p>Thanks in advance!</p>