<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>USAGI-WRP</author_name>
  <author_url>https://blog.hatena.ne.jp/USAGI-WRP/</author_url>
  <blog_title>C++ ときどき ごはん、わりとてぃーぶれいく☆</blog_title>
  <blog_url>https://usagi.hatenablog.jp/</blog_url>
  <categories>
    <anon>XAML</anon>
    <anon>ComboBox</anon>
    <anon>ComboBoxItem</anon>
    <anon>ItemsSource</anon>
    <anon>definition</anon>
    <anon>how to</anon>
    <anon>separating</anon>
    <anon>StaticResource</anon>
    <anon>Array</anon>
  </categories>
  <description>例えば同じ要素軍を選択肢として提示する複数のコンボボックスを配置したいとしよう。以下のコード例は何れも &lt;Window&gt; の内部に定義している。 &lt;!--ダサいがシンプルで間違いは無い実装。しかしダサい。--&gt; &lt;ComboBox Name=&quot;CB1&quot;&gt; &lt;ComboBoxItem Content=&quot;選択肢1&quot;/&gt; &lt;ComboBoxItem Content=&quot;選択肢2&quot;/&gt; &lt;ComboBoxItem Content=&quot;選択肢3&quot;/&gt; &lt;/ComboBox&gt; &lt;ComboBox Name=&quot;CB2&quot;&gt; &lt;ComboBoxItem Content=&quot;選択肢1&quot;/&gt; &lt;ComboBoxItem …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fusagi.hatenablog.jp%2Fentry%2F2018%2F12%2F12%2F224357&quot; title=&quot;XAML: 同じ ItemsSource を持つ複数のコントロールの効率的な定義の仕方、あるいは ItemsSource を StaticResource で別定義する方法 - C++ ときどき ごはん、わりとてぃーぶれいく☆&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-12 22:43:57</published>
  <title>XAML: 同じ ItemsSource を持つ複数のコントロールの効率的な定義の仕方、あるいは ItemsSource を StaticResource で別定義する方法</title>
  <type>rich</type>
  <url>https://usagi.hatenablog.jp/entry/2018/12/12/224357</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
