In this chapter we had a look at how Ext.NET and Ext JS provide layout capabilities. While Ext.NET provides many layouts we saw a few in detail here:
Border layout
Accordion layout
Fit layout
HBox layout
VBox layout
The Border layout demonstrated both the power of that particular layout but also the flexibility in Ext.NET in terms of how to define and use it. We saw that we can also nest Border layouts, and when we looked at the Accordion layout we also saw that a combination of layouts is easily possible. The Fit layout demonstrated how you can get something to fit the container and stretch with it whenever the container is resized. With HBox and VBox layouts we saw powerful options to configure items in numerous ways horizontally and vertically. In addition, we saw they could be combined to help center a component which is quite a popular thing to do.
We also looked at the Viewport as another example of a container which is frequently used in conjunction with a layout to create an application...