Layout and Controls in WPF
Half of the battle can be won through UI and Control placement in software paradigm .All of us know the a good UI leaves extraordinary impact on user so this post is all about control placing and control layout in WPF.In this post we will cover following topics.
- Layout
- Classic Controls
Layout
Layout in WPF are versatile than win form controls.In Win form most of the frequently used layouts used the coordinate based control placement while in WPF it is slot based depending on the screen space.the most common used layouts in wpf are as follows :
|
|
Used Coordinate based Control Layout (Same as panel in normal Win Form) |
|
|
Control are placed horizontally / Vertically one above the other |
|
|
Controls are placed sequentially horizontally / vertically |
|
|
Creates column,Row based grid and each cell allows controls to be placed |
|
|
Docks the control on specified area |
A collected sample of all can be seen bellow
More details can be found http://msdn.microsoft.com/en-us/library/ms745058.aspx.
Classic Controls
The control set in WPF is rich with wide support for data binding .A full comparison of WPF and winform control can be found from here.
Additional Link for Controls
http://www.simple-talk.com/content/file.ashx?file=3354
http://www.simple-talk.com/dotnet/.net-framework/from-winform-to-wpf-a-quick-reference-guide/