Bonjour, j'ai un problème avec un textblock que je voudrais centrer dans le canvas ou il se trouve.
J'ai fait : TextBlock.VerticalAlignment = VerticalAlignment.Center;
TextBlock.HorizontalAlignment = HorizontalAlignment.Center;
mais mon textblock reste toujours en haut a gauche de mon canvas.....
Si quelqu'un a une petite idée, je suis preneur.
merci
++
Partager