title: WPF Combo Box and Data Binding to other classes
body: <p>all,</p>
  
  <p>I am really stuck on a very basic concept - I just cannot find an answer that I really understand.</p>
  
  <p>I have a view - viewContacts.  Its datacontext is a viewmodel - viewmodelContacts.</p>
  
  <p>On the view I have a combobox for 'titles' (you know ... Mr, Mrs, Miss, etc).  I want to bind the itemssource so it shows a list of options, and bind the SelectedValue so that it stores the key in the viewmodelContacts TitleId property.  </p>
  
  <p>The 'source' list if titles (that I want to bind ItemsSource to) is actually in a separate static class - note NOT the viewmodel!</p>
  
  <pre><code>internal static class Titles
  {
      static IList&lt;Title&gt; _colTitles = null;
      static Titles()
      {
          _colTitles = new List&lt;Title&gt;();
          _colTitles.Add(new Title() { TitleId = 1, Description = "Mr." });
          _colTitles.Add(new Title() { TitleId = 2, Description = "Mrs." });
          _colTitles.Add(new Title() { TitleId = 3, Description = "Miss." });
          _colTitles.Add(new Title() { TitleId = 4, Description = "Ms." });
      }
  
      internal static IList&lt;Title&gt; GetTitles()
      {
          return _colTitles;
      }
  }
  </code></pre>
  
  <p>(later on, of course, this stuff will be fetched from a database).</p>
  
  <p>This simple task exceeds my talent as a WPF developer.</p>
  
  <p>How do I set the ItemsSource to this static class?  How do I further set the DisplayMemberPath to the Description property of the underlying Title object?</p>
  
  <p>What do I set the SelectedValue and SelectedValuePath to?</p>
  
  <p>Really hoping someone can help me out with what appears to be a simple problem that I just cannot work out.</p>
  
  <p>Thanks,
  Gray</p>