title: Wp8 how to add items in the stackpanel dynamically
body: <p>I need help for item add in the stackpanel.
  My item name is "kanal" its wp8 imagebutton item.
  Its my codes</p>
  
  <pre><code>public mainpage()
  {
      InitializeComponent();
      foreach (var kanal in MainPage.kanalllarstatik)
      {
          mystackpanel.Children.Add(kanal);
      }           
  }
  </code></pre>
  
  <p>I need add 130x130 pixel 3 button items per line like this:</p>
  
  <p><a href="https://i.stack.imgur.com/S2zOm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S2zOm.jpg" alt="Its my app and button size is 130x130 pixel"></a></p>