I want to know how I can change the index of children in a StackPanel in C # code .
For example, I want the first child to be displayed, which is currently the second. I need animation when changing the index.
I use StackPanel because I need the Orientation property to stack all the elements and keep them grouped together. If you have an idea to use another control, I am open to this.
source
share