title: WPF: load ComboBox items from style/resource
body: <p>I have several comboboxes with the same items. I want to put items into <code>app.xaml</code>, to prevent code duplication. Can I do something like this?</p>
  
  <pre><code>&lt;Style x:Key="MyCombo" TargetType="{x:Type ComboBox}"&gt;
      &lt;Setter Property="Items"&gt;
          &lt;ComboboxItem Content="item one" /&gt;
          &lt;ComboboxItem Content="item two" /&gt;
      &lt;/Setter&gt;
  &lt;/Style&gt;
  </code></pre>