Stack panel
-
Hello, I want to add dynamically many controls to a window. I wanted to use a stack panel container but a stack panel has either horizontal or vertical orientation. I want to add the control horizontally and when there are three user controls in one row i want to go to next row and start adding the controls there and so on. The user can also delete a control so the other controls have to be reorganized automatically. Any one has an idea how to do it? Thanks.
-
Hello, I want to add dynamically many controls to a window. I wanted to use a stack panel container but a stack panel has either horizontal or vertical orientation. I want to add the control horizontally and when there are three user controls in one row i want to go to next row and start adding the controls there and so on. The user can also delete a control so the other controls have to be reorganized automatically. Any one has an idea how to do it? Thanks.
-
Hello, I want to add dynamically many controls to a window. I wanted to use a stack panel container but a stack panel has either horizontal or vertical orientation. I want to add the control horizontally and when there are three user controls in one row i want to go to next row and start adding the controls there and so on. The user can also delete a control so the other controls have to be reorganized automatically. Any one has an idea how to do it? Thanks.
I used a wrap panel from the tool kit for this, bind it to a collection and add/delete the items in the collection.
Never underestimate the power of human stupidity RAH