Class CardLayoutMode
Specifies how the children will be laid out.
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class CardLayoutMode : Enum
Remarks
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).
Fields
Default
The child control is laid out based on its preferred size.
Declaration
public const CardLayoutMode Default
Field Value
| Type |
|---|
| CardLayoutMode |
Fill
The child control is laid out to fill the parent.
Declaration
public const CardLayoutMode Fill
Field Value
| Type |
|---|
| CardLayoutMode |