Ask a questionAsk a question
 

Questionuser controls in wpf

  • Saturday, November 07, 2009 5:59 PMchavik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hi, i want to add a user control to a window (using wpf).
    in c# i would just write 

    form1.Controls.Add('name of user control');
    'name of usercontrol'.location= new point........

    how do i do this when im using a wpf appliction
    id like to see both ways, is xaml and in the code part
    thank you
    • Moved byMark Wilson-ThomasMSFTMonday, November 16, 2009 8:39 PMWPF Platform Query (From:Visual Studio WPF Designer)
    •