Specifies how the children will be laid out.
public enum CardLayoutMode
In Default mode, the CardLayout manager will center the control within the layout rectangle based on its preferred size, when there is enough space available. When the space available is less than the preferred size, it will simply show the child from the top / left of the layout rectangle, shrinking the size to fit the layout rectangle, not going below the minimum size.
In Fill mode, the preferred size of the control will be ignored and it will be made to fill the entire client area of the parent, taking into consideration the parent's DockPading parent(if the parent is a ScrollableControl).
The child control is laid out based on its preferred size.
The child control is laid out to fill the parent.