title: Is it possible to bind List of object to TextBlock like ListView in UWP?
body: <p>I'm try convert my app framework to MVVM</p>
  
  <p>and currently, I'm stuck at try to bind the <code>TextBlock</code></p>
  
  <p>This <code>TextBlock</code> on old project is update with code behind by adding new <code>Run</code> to the <code>TextBlock</code></p>
  
  <p>somewhat like this</p>
  
  <p>On <code>MainPage.xaml</code></p>
  
  <pre><code>&lt;Page&gt;
      &lt;!--other items on page--&gt;
      &lt;TextBlock x:Name="textUI"/&gt;
  &lt;/Page&gt;
  </code></pre>
  
  <p>On <code>MainPage.xaml.cs</code></p>
  
  <pre><code>public sealed partial class MainPage : Page
  {
      void AddText(string text, bool mark)
      {
          if (mark)
          {
               textUI.Inlines.Add(new Run() 
                   {
                        Text = text,
                        Foreground = new SolidColorBrush((Color)Resources["SystemAccentColor"]) });
          }
          else
          {
               textUI.Inlines.Add(new Run() { Text = text });
          }
      }
  }
  </code></pre>
  
  <p><strong>Here's the question</strong></p>
  
  <p>Instead, I try thinking other idea. And that idea was making <code>List</code> of class like this</p>
  
  <pre><code>public class Blocks
  {
       public string text;
       public bool mark;
  }
  </code></pre>
  
  <p>And put that on the list and bind it like on <code>ListView</code> but on the <code>TextBlock</code> instead</p>
  
  <p>Like this</p>
  
  <pre><code>&lt;TextBlock ItemSource={x:Bind ListOfBlocks}&gt;
      &lt;Run Text={x:Bind text,Mode=OneWay} Foreground={x:Bind mark, Converter={StaticResource SomeConverter}, Mode=OneWay }
  &lt;/TextBlock&gt;
  </code></pre>
  
  <p>Is it possible?</p>