title: How to dynamically add a UserControl in MVVM pattern?
body: <p>This is a sample source to help explain my explanation</p>
  
  <pre><code>&lt;ItemsControl ItemsSource="{Binding PaggingButtonList}"&gt;            
      &lt;ItemsControl.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;UserControl Name="{Binding ViewName}" /&gt;
          &lt;/DataTemplate&gt;
      &lt;/ItemsControl.ItemTemplate&gt;
  &lt;/ItemsControl&gt;
  </code></pre>
  
  <p>I want to dynamically add  as in the code above. Unfortunately, the only way to add a View I know is to . So I want to know what to assign to what? Section in  to dynamically find and add View file of my project. Thank you</p>
  
  <p><a href="https://i.stack.imgur.com/j1DqN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j1DqN.png" alt="enter image description here"></a></p>