How many types of Layout system avail in WPF
Posted on January 23rd , 2012 by Admin
|
|
In WPF layout system is exposed to child controls through base WPF classes. Below are the 6 types of layout panel available in WPF:-
(1)Canvas:-In canvas layout child controls provide their own layout.
(2)DockPanel:-In DockPanel layout child controls are aligned to the edges of the panel.
(3)Grid:- In Grid layout child controls are positioned by rows and columns.
(4)StackPanel:-In stackpanel layout child controls are stacked either vertically or horizo |
| ntally.
(5)VirtualizingStackPanel:- In this layout child controls are virtualized and arranged on a single line that is either horizontally or vertically oriented.
(6)WrapPanel:- In wrappanel layout child controls are positioned in left-to-right order and wrapped to the next line when there are more controls on the current line than space allows.
|
|
|