There are five types of layout. All layout controls have a common base class named panel.
1. Stack Panel
2. Wrap Panel
3. Canvas
4. Dock Panel
5. Grid
1. Stack Panel
2. Wrap Panel
3. Canvas
4. Dock Panel
5. Grid
Stack Panel -
Stack panel shows the elements in the form of stack. Orientation can be change Horizontal or Vertical.
Wrap Panel-
Wrap panel wrap the control according to available space.
Canvas -
On canvas, you can put the element on a particular position by setting top and left property.
Dock Panel-
This is similar to the functionality of dock property of windows form. Multiple controls can be placed with different dock like top,bottom, left, right or full.
Grid -
We can place the control in grid in the form of row and column.
No comments:
Post a Comment