title: Problem adding canvasses to a stackpanel in code in wpf
body: <p>I have the exact same problem as quoted (taken form <a href="http://social.msdn.microsoft.com/Forums/en-US/silverlightdeveloper/thread/9ddb04ba-0f42-4716-9889-04103469cf25" rel="nofollow noreferrer">here</a> , but not answered)  :</p>
  
  <blockquote>
    <p>I add controls to the StackPanel via
    StackPanel.Childrens.Add( ).</p>
    
    <p>But what i see - all controls, added
    by me, are in the same position and
    overlap each other. They don't being
    layout inside of StackPanel.</p>
    
    <p>Even StackPanel.UpdateLayout( ) brings
    me nothing.</p>
  </blockquote>
  
  <p>I for me am trying to add <code>Canvas</code>es (yes I do need them) to the <code>StackPanel</code>. 
  Any ideas?</p>