Bonjour j'ai un petit problème avec mon stackpanel et mes usercontrol en code behind :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
 
//sp étant mon stackpanel
sp.Orientation = Orientation.Vertical;
            sp.Children.Add(new usrCtrlFunction("Instruction"));
            sp.Children.Add(new usrCtrlFunction("Evaluation"));
            sp.Children.Add(new usrCtrlFunction("test"));
Il ne m'affiche que le premier user control.

Vous avez une idée ?