title: ItemsControl comma separated values in UWP app
body: <p>I am trying to bind name with comma-separated values. In the last item I don't want to add a comma. Can you please let me know how to remove the last comma in WinRT application?</p>
  
  <pre><code>&lt;ItemsControl ItemsSource="{Binding xxxx}" &gt;
                              &lt;ItemsControl.ItemsPanel&gt;
                                  &lt;ItemsPanelTemplate&gt;
                                      &lt;StackPanel Orientation="Horizontal"&gt;&lt;/StackPanel&gt;
                                  &lt;/ItemsPanelTemplate&gt;
                              &lt;/ItemsControl.ItemsPanel&gt;
                              &lt;ItemsControl.ItemTemplate&gt;
                                  &lt;DataTemplate&gt;
                                      &lt;StackPanel Orientation="Horizontal" Margin="0,-6,0,0" &gt;    
                                          &lt;HyperlinkButton x:Name="name" Content="{Binding Name}" VerticalAlignment="Top" Style="{ThemeResource TileContentHyperlinkStyle}"  &gt;&lt;/HyperlinkButton&gt;
                                          &lt;TextBlock x:Name="Comma" x:Uid="/Resources/Comma" Style="{ThemeResource TileContentStyle}" VerticalAlignment="Center" Margin="0,0,5,0" /&gt;
                                      &lt;/StackPanel&gt;
                               &lt;/DataTemplate&gt;
                              &lt;/ItemsControl.ItemTemplate&gt;  
  </code></pre>
  
  <p>Example output:</p>
  
  <p><code>Ramesh ,Sutha,Nikhil,</code>       &lt;=== (need to remove last comma) </p>