Band automatic resizing

Since bands inherit from panels, they will be resized as well. A band can automatically resize according to the size of the components placed on it.

CanGrow property

Note that most types of bands can only change height automatically. The exception is crossbands that change width. For example, if a band has a component that exceeds the lower bound and the bandCan GrowSetting the property to true will automatically increase the height of the band until the entire component is contained within the band.

CanShrink property

Similarly, there is an empty space between the border of the band and the lower border of the highest component it contains,Can ShrinkSetting the property to true will automatically decrease the height of the band until it matches the lowest point of the lowest point. Components included: