WPF StackPanel controls order
-
22-09-2019 - |
Question
Is there a way to change the order of the controls inside a StackPanel at runtime?
Many thanks,
Paulo
Solution
stackPanel1.Children.Remove(item);
stackPanel1.Children.Insert(newIndex, item);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow