As the name so the behavior. Stack allows you to arrange your UI elements vertically or horizontally.
For instance below are 4 elements which are arranged in a stack panel element. You can see how the stack aligns / stacks the elements one above other. You can also stack the UI elements horizontally or vertically depending on your layout nature.
You can get a simple source code which demonstrates the three layouts at the end of this article.
Asked In: Many Interviews |