title: How to display a different value for dropdown list and selected item in a CheckComboBox in Xceed WPF toolkit?
body: <p>I've got a CheckComboBox bound to a list consisting of one simple index and a full description like this:</p>
  
  <pre><code>code   full_description
  1      Bus
  2      Car
  3      Motobike
  </code></pre>
  
  <p>Is it possible to show just 1,2,3 for selected items and show full description when dropping down the list?
  I found a similar question <a href="https://stackoverflow.com/questions/3995853/how-to-display-a-different-value-for-dropdown-list-values-selected-item-in-a-wpf">here</a>. But since CheckComboBox using the difference implementation, I have modified the part of <code>class ComboBoxItemTemplateSelector</code> as follows:</p>
  
  <pre><code>    public override DataTemplate SelectTemplate(object item, DependencyObject container)
      {   
          SelectorItem selectorItem = VisualTreeHelpers.GetVisualParent&lt;SelectorItem&gt;(container);
  
          if (selectorItem != null)
          {
              return DropDownTemplate;
          }
          return SelectedTemplate;
      }
  </code></pre>
  
  <p>It works fine with dropdown list, but no luck with selected items. I tried to dig into the source code of CheckComboBox but got nothing. Hope someone can help me out. Thanks.</p>