title: How to create LongListSelector with c# code?
body: <p>I am new to development, I am trying to create LongListSelector with C# code but not succeeded.
  Could anyone help me to create this.</p>
  
  <p>My XML code is-</p>
  
  <pre><code>        &lt;phone:LongListSelector ItemRealized="LLS_ItemRealized" Name="longList" ItemsSource="{Binding supportedList}" IsGroupingEnabled="False" LayoutMode="List" HideEmptyGroups="True" Margin="30,0,26,0" &gt;
              &lt;phone:LongListSelector.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;Grid Background="Transparent"&gt;
                          &lt;Grid.ColumnDefinitions&gt;
                              &lt;ColumnDefinition Width="210"/&gt;
                              &lt;ColumnDefinition Width="210"/&gt;
                          &lt;/Grid.ColumnDefinitions&gt;
                          &lt;Grid.RowDefinitions&gt;
                              &lt;RowDefinition Height="120"/&gt;
                          &lt;/Grid.RowDefinitions&gt;
                          &lt;Image Height="118" Width="209" Tap="ThumbnailImageTap" Margin="0" Stretch="Fill" Source="{Binding ThumbnailUrl1}" Tag="{Binding ClipId1}" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/&gt;
                          &lt;Image Height="118" Width="209" Tap="ThumbnailImageTap" Margin="0" Stretch="Fill" Source="{Binding ThumbnailUrl2}" Tag="{Binding ClipId2}"  Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Right"/&gt;
                      &lt;/Grid&gt;
                  &lt;/DataTemplate&gt;
              &lt;/phone:LongListSelector.ItemTemplate&gt;
          &lt;/phone:LongListSelector&gt;  
  </code></pre>
  
  <p>Any suggestion to create this with C# will be great or any link related to my answer.</p>
  
  <p>Thanks :)</p>