title: Is it possible to expand a property of a blazor component?
body: <p>I want to <em>expand</em> the property <code>Items</code> in my <code>TabControl</code> component.</p>
  <p>So instead of</p>
  <pre><code>&lt;TabControl Items=&quot;@MyListOfItems&quot; /&gt;
  </code></pre>
  <p>I want to open or expand the property - not sure what to call this - and add my items directly instead of using a list and defining it as vanilla c# in my code behind or @code block</p>
  <pre><code>&lt;TabControl&gt;
      &lt;TabControl.Items&gt;
          &lt;TabItem Title=&quot;foo&quot;&gt;
              content for my &lt;strong&gt;foo&lt;/strong&gt; page
          &lt;/TabItem&gt;
          &lt;TabItem Title=&quot;bar&quot;&gt;
              content for my &lt;strong&gt;bar&lt;/strong&gt; page
          &lt;/TabItem&gt;
      &lt;/TabControl.Items&gt;
  &lt;/TabControl&gt;
  </code></pre>